how to extend time after fft ?
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
omar thamer
am 8 Nov. 2013
Kommentiert: omar thamer
am 13 Nov. 2013
I have a signal runs for 500 seconds ( 1:1:500 sec) after i did the fft, i want to go back to time domain and see how the signal looks like for 1000 Seconds (1:1:1000) ? Any advice how to extend the time ? Is it better to do it in frequency domain ? Is it simply to add the sines and cosines with loops ?
Thank you
0 Kommentare
Akzeptierte Antwort
Vilnis Liepins
am 11 Nov. 2013
You can try edft.m on fileexchange http://www.mathworks.com/matlabcentral/fileexchange/11020-extended-dft
ifft(edft(YourData,1500),1500)
Signal for 1000 sec will be ifft output 1:1000.
2 Kommentare
Weitere Antworten (1)
Walter Roberson
am 8 Nov. 2013
Try
ifft(fft(YourData), 1000)
2 Kommentare
Walter Roberson
am 11 Nov. 2013
fft() assumes that its data is periodic, so to get 1000 seconds of output, ifft() to get the 500 second output and then replicate it.
Siehe auch
Kategorien
Mehr zu Fourier Analysis and Filtering 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!