How can I increase the number of samples in my original time domain signal when doing iFFT?

조회 수: 2 (최근 30일)
How can I increase the number of samples in my original time domain signal when doing iFFT?
I have a sampled time domain signal composed of a number of sinusoids. I have around 1700 samples, I've done an FFT to see the spectrum and I'd like to use iFFT to extend it past my last sample of the time domain signal. i.e. I have 1700 samples and I like to see what the time domain signal looks like between 1700 - 2500 samples.
How can I increase the iFFT samples to look foward in time to see from 1700 - 2500 samples in the time domain signal?
Each of the sinusoids has a different phase, so I can't just reconstruct it just from the spectrum using each frequency starting at zero radians. I've tried to do this with just scripts. However, I also have the signal processing toolbox, but I can't figure out if the signal processing toolbox package can help me to do this, or whether I need to do this using scripts.
Is there a way to do this in the signal processing toolbox package and/or can I do this using scripts?

답변 (1개)

Gokul Nath S J
Gokul Nath S J 2022년 12월 8일
편집: Gokul Nath S J 2022년 12월 8일
Hi Sandy Messini,
As per my understanding, you might need to take N (2500) point Inverse fast Fourier Transform (ifft) of a signal containing n (1700) samples where N > n. The following code will compute N (N > n) point ifft of a sequence ‘signal’.
ifft(signal, N);
Refer to the attached documentation for more info.

카테고리

Help CenterFile Exchange에서 Discrete Fourier and Cosine Transforms에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by