Borrar filtros
Borrar filtros

for fft(matrix) end

3 visualizaciones (últimos 30 días)
Amit
Amit el 3 de Feb. de 2012
Editada: Jan el 28 de Sept. de 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 comentario
Amit
Amit el 3 de Feb. de 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.

Iniciar sesión para comentar.

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Data Type Conversion en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by