matrix ifft tranform

3 views (last 30 days)
jordi10
jordi10 on 14 Dec 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

Accepted Answer

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

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!