Effacer les filtres
Effacer les filtres

for fft(matrix) end

3 vues (au cours des 30 derniers jours)
Amit
Amit le 3 Fév 2012
Modifié(e) : Jan le 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 commentaire
Amit
Amit le 3 Fév 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.

Connectez-vous pour commenter.

Réponse acceptée

Walter Roberson
Walter Roberson le 3 Fév 2012
a(:,:,k) = fft(matrix);
  1 commentaire
Amit
Amit le 3 Fév 2012
Thanks Walter, It works.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Type Conversion dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by