How to compute the short time Fourier transform of a signal z(n) in a time frame that is centered at n?
조회 수: 14 (최근 30일)
이전 댓글 표시
I want to do the periodicity analysis of a signal using the short time ACF based method. The equations which I have says that I need to compute the short time fourier transform in a time frame that is centered at n. Can anybody help??
댓글 수: 0
채택된 답변
Youssef Khmou
2014년 6월 8일
The Short time Fourier transform use overlapping fragments of the signal, the computed transformations are concatenated into single columns to represents a spectro gram, you can start with basic non overlapping example;a signal with 1000 points where each 10 points we compute the FF with 512 resolution :
t = 0:0.001:1-0.001;
f = chirp(t,0,2,150);
N=length(f);
T=N/100;
k=1:T:N;
NFFT=512;
for n=1:length(k)-1
F(n,:)=abs(fft(f(k(n):k(n+1)-1),NFFT));
end
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!