希望大家能贴一些时频分析的程序

浏览:561606 回答:1
希望大家能贴一些时频分析的程序,如stft,wigner-ville等做的仿真程序!

邀请回答 我来回答

全部回答

(1)
默认 最新
清风明月
线性低通滤波器的MATLAB仿真程序
clear; close all;
% MATLAB PROGRAM
%Window-based FIR filter design
%Per foments parameter
wp=0.5*pi;
ws=0.8*pi;
% width of the transition band
wdelta=ws-wp;
%Length of the filter
N=cei1(8*pi/wdelta)
if rem(N,2)一0
N=N+1;
end
%Length of the window
Nvr-N;
%Cutof Frequency of the filter
wc=(wp+ws)/2;
%Computeim pulsere sponseo fth eid ealfi lter
n=O:N-1;
alpha-(N-I)/2;
m=n-alpha+0.00001;
hd=sin(wc*m)./(pi*m);
%Compute time response of the Hanning window
win=hanning(Nw);
%Computea ctureim pulsere sponseo fth efi lter
h=hd.*win;
b=h;
freqz(b,1,512)
2006年9月20日
评论 点赞

没解决?试试专家一对一服务

换一批
    App下载
    技术邻APP
    工程师必备
    • 项目客服
    • 培训客服
    • 平台客服

    TOP