for fft(matrix) end

1 view (last 30 days)
Amit
Amit on 3 Feb 2012
Edited: Jan on 28 Sep 2013
a=zeros(n,n,k)
for i=1:k
a(i)=fft(matrix);
end
I am get the error as
??? In an assignment A(:) = B, the number of elements
in A and B
must be the same.
What can I do, Plz help
  1 Comment
Amit
Amit on 3 Feb 2012
if i m simply a=fft, it just results in single n by n matrix, whereas right output must be i no. of matrices.

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 3 Feb 2012
a(:,:,k) = fft(matrix);
  1 Comment
Amit
Amit on 3 Feb 2012
Thanks Walter, It works.

Sign in to comment.

More Answers (0)

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!