Matlab

Moderators: None (Apply to moderate this forum)
Number of threads: 1494
Number of posts: 2174

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Help using FFT and IFFT in matlab Posted by sarbjit1987 on 11 Mar 2008 at 6:04 AM
hi
i just want to calculate dft and idft of a given matrix and plot it. using fft and ifft function in matlab
eg:
given matrix a=[0 1 2 3]
just calculate its dft using fft and plot it.
i hd made a program that finds it and plot it but it plots only real axis.
i m writing code for it.
a=[0 1 2 3];
y=fft(a);
for i=1:4,
stem(i,y(i),'*');
hold on



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.