資源簡介
短時傅里葉變換的一些簡單的演示,其中有矩形窗和高斯窗
代碼片段和文件信息
%?Main?Function
clear;
clc;
%?the?initial?signal
%?f(t)?=?sin(2*pi*t)
R?=?0.05;?t?=?1:R:10;
f?=?sin(2*pi*t.*t);
subplot(221);?plot(tf);
xlabel(‘t‘);?ylabel(‘f‘);
title(‘the?initial?signal‘);
%?the?frequency?distribution(fourier?transform)
F?=?fft(f);
F1?=?abs(F);
subplot(222);?plot(tF1);
xlabel(‘w‘);?ylabel(‘|F|‘);
title(‘the?frequency?of?the?signal‘);
%?STFT?with?the?rectangle?window
[f1F1]?=?STFT1(ft);
%?STFT?with?the?Gaussian?window
%[f1F1]?=?STFT2(ft);
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????499??2010-10-06?11:02??main.m
?????文件????????806??2010-10-06?11:10??STFT1.m
?????文件????????868??2010-10-06?11:28??STFT2.m
-----------?---------??----------?-----??----
?????????????????2173????????????????????3
評論
共有 條評論