matrix ifft tranform

17 visualizaciones (últimos 30 días)
jordi10
jordi10 el 14 de Dic. de 2011
hi!
i am new to matlab so the solution to my problem will bw easy for you.
i have a matrix with size (12,4), and i want to create a new matrix withe the same size with the ifft result of its row.
my matrix is
1 1 -1 1
1 1 1 1
-1 -1 -1 1
1 -1 -1 -1
1 -1 -1 -1
-1 -1 1 1
1 1 1 -1
1 1 1 1
-1 1 1 -1
-1 -1 1 1
-1 1 -1 1
1 1 1 1

Respuesta aceptada

David Young
David Young el 14 de Dic. de 2011
m = [1 1 -1 1 % data matrix
1 1 1 1
-1 -1 -1 1
1 -1 -1 -1
1 -1 -1 -1
-1 -1 1 1
1 1 1 -1
1 1 1 1
-1 1 1 -1
-1 -1 1 1
-1 1 -1 1
1 1 1 1];
M = ifft(m, [], 2) % transform each row
  1 comentario
jordi10
jordi10 el 14 de Dic. de 2011
thank you mery much David!!!
maybe i'll need your help in the future!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Resizing and Reshaping Matrices 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