help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fftshift


From: Mike Miller
Subject: Re: fftshift
Date: Fri, 29 May 2015 08:14:13 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

On Fri, May 29, 2015 at 08:49:38 +0200, ALI Khan wrote:
> Hi I am using an fftshift function and encountering an error:
> 
> 
> error: fftshift: expecting vector or matrix argument
> error: called from
>     fftshift at line 80 column 7
>     set_geom at line 330 column 11
>     pfft at line 94 column 17
>     induct at line 231 column 9
>     pmag at line 148 column 11
>     Example at line 27 column 7
> 
> 
> 
> I have checked the dimension of my variable x whose fftshift i want to
> calculate and it comes out to be :
> 
> 
> ans =
> 
>    364    12    12
> 
> 
> Would be nice if somebody can guide .... Thanks

You haven't said what version of Octave. However, since a bug about this
was just reported last night [1] I can assume that you are on version
4.0.0-rcN. This is indeed a bug with N-dimensional arrays and will be
fixed in a future 4.0.1 bug fix release.

[1] https://savannah.gnu.org/bugs/?45207

HTH,

-- 
mike



reply via email to

[Prev in Thread] Current Thread [Next in Thread]