matrix ifft tranform

17 Ansichten (letzte 30 Tage)
jordi10
jordi10 am 14 Dez. 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

Akzeptierte Antwort

David Young
David Young am 14 Dez. 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 Kommentar
jordi10
jordi10 am 14 Dez. 2011
thank you mery much David!!!
maybe i'll need your help in the future!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by