登录
首页 » matlab » filter

filter

于 2013-05-18 发布 文件大小:1KB
0 170
下载积分: 1 下载次数: 2

代码说明:

  M=63 J=(M-1)/2 Wp=0.5*pi Ws=0.6*pi Np=100 Ns=100 weightp=1 weights=100 通带和阻带的加权系数 WpN=linspace(0,Wp,Np) WsN=linspace(Ws,pi-0.05,Ns) Wm=[WpN WsN] p=[ones(1,50),ones(1,50)/2] d=[p,zeros(1,Ns)] W=diag([weightp*ones(1,Np),weights*ones(1,Ns)]) C=cos(Wm*[0:J]) Q=diag(cos(Wm*0.5)) g=(W*Q*C)(W*d) g=g h=(g(J:-1:2)+g(J+1:-1:3))/4 h=[g(J+1)/4 h g(1)*0.5+g(2)/4] h=[h fliplr(h)] W=linspace(0,pi-0.1,512) H=freqz(h,1,W) plot(W/pi,20*log10(abs(H))) (filter design)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • rels_riv_rls
    本人用matlab编写的rels(最小二乘法),rls(递推增广最小二乘法),riv(辅助变量法递推算法)的程序,都是2阶的,稍改动就可以变成其它阶次(I use matlab prepared rels (least squares), rls (augmented recursive least squares method), riv (auxiliary variable method recursive algorithm) procedure, are 2 bands, a little change can be turned into other order)
    2008-01-22 15:22:46下载
    积分:1
  • Image_Fusion_Toolkit
    这是国外研究小波图像处理的学者做出的工具箱,十分好用。(This is the overseas research scholars of wavelet image processing toolbox to make very easy to use.)
    2009-11-03 09:41:08下载
    积分:1
  • MicrosoftWord
    MPSK系统matlab编码程序的代码适用于8psk(MPSK system code matlab coding for 8PSK)
    2008-04-15 00:15:53下载
    积分:1
  • Telephone-Billing-System
    Telephone billing system in c++ code working
    2014-09-06 19:56:30下载
    积分:1
  • porpozal-eirad
    The load-flow analysis, implemented for both voltage regulation and voltage stability analysis, is performed by using the forward/ backward sweep method. The secant predictor technique is developed for predicting the node voltages which are then corrected using the load flow solver. Three models of the PV interface
    2015-01-18 23:55:05下载
    积分:1
  • GreyModel
    我写的灰色系统,包括最普通的GM(1,1),新陈代谢模型,GM(2,1)模型,verhulst模型,编程全部根据《灰色系统理论及其应用》(these are all about grey model theory,including GM(1,1),GM(2,1),verhulst)
    2020-10-15 17:57:29下载
    积分:1
  • EKF
    matlab 卡尔曼滤波代码 可实现拓展式卡尔曼滤波,文件可用(Kalman filter code matlab)
    2011-06-02 14:55:24下载
    积分:1
  • surface-chart-GA-wiley-matlab
    surface chart GA-wiley-matlab surface chart GA-wiley-matlab
    2014-10-28 17:52:01下载
    积分:1
  • PCA111
    PCA和KPCA综合运用,用于故障检测与诊断,希望对你有用(Integrated use of PCA and KPCA for fault detection and diagnosis have a good monitoring results, you want to be useful)
    2011-10-20 22:54:56下载
    积分:1
  • Matlab-Simulink-and-Labview-Help.1
    single Point positioning
    2012-01-21 08:08:51下载
    积分:1
  • 696518资源总数
  • 106227会员总数
  • 11今日下载