for fft(matrix) end

3 次查看(过去 30 天)
Amit
Amit 2012-2-3
编辑: Jan 2013-9-28
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 个评论
Amit
Amit 2012-2-3
if i m simply a=fft, it just results in single n by n matrix, whereas right output must be i no. of matrices.

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2012-2-3
a(:,:,k) = fft(matrix);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by