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

 채택된 답변

David Young
David Young 2011년 12월 14일

0 개 추천

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

jordi10
jordi10 2011년 12월 14일
thank you mery much David!!!
maybe i'll need your help in the future!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

질문:

2011년 12월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by