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