IFFT equation in matlab

6 views (last 30 days)
sarah
sarah on 30 Jan 2013
Dear all, Let say i have this
X(2:N,:) = repmat(X(1,:),N-1,1).*Phase_Rot;                            
x = ifft(X,[],2);                                                    
My question is how can i convert the second line command into ifft equation?
  2 Comments
Wayne King
Wayne King on 30 Jan 2013
I'm not sure what you are trying to do here, are you trying to represent the inverse DFT as a matrix operation, where you multiply a Nx1 vector of DFT values to invert the transform?
Matt J
Matt J on 30 Jan 2013
Edited: Matt J on 30 Jan 2013
Incidentally, bsxfun would be more efficient
X(2:N,:) = bsxfun(@times, X(1,:), Phase_Rot);
x = ifft(X,[],2);

Sign in to comment.

Answers (0)

Categories

Find more on Data Type Conversion in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!