登录
首页 » matlab » filter

filter

于 2013-05-18 发布 文件大小:1KB
0 168
下载积分: 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 个回复

  • An_Introduction_to_Programming_and_Numerical_Metho
    《An Introduction to Programming and Numerical Methods in MATLAB》 是一本关于Matlab编程的书,对人工智能和数值分析等领域的researcher有很大帮助。("An Introduction to Programming and Numerical Methods in MATLAB" is an book on Matlab programming. It is very helpful to those engaged in artificial intelligence or numerical analysis.)
    2010-11-02 13:55:05下载
    积分:1
  • FordFulkerson
    有向图中求最大流的一种方法:feasible_match求最大流(Directed graph and maximum flow of a kind of methods: feasible_match for maximum flow)
    2012-09-01 16:37:10下载
    积分:1
  • DFIG
    基于simulink的双馈异步风力发电机的仿真模型(Simulink simulation model of doubly-fed induction wind turbines based)
    2020-11-21 22:09:37下载
    积分:1
  • Permanent-magnet-synchronous.
    Permanent magnet synchronous motor parameters, structure, performance design process.
    2013-12-10 05:34:27下载
    积分:1
  • backstepping-control
    backstepping tutorail
    2013-12-19 18:00:36下载
    积分:1
  • PCA
    说明:  用MATLAB写的一段PCA程序,拿来分享(PCA using a MATLAB program written for them and share)
    2011-04-14 00:25:53下载
    积分:1
  • smith_chart_demo1
    用Matlab编写的如何画SmithChart,如何匹配到50欧的演示程序(Show how to plot a Smith chart in Matlab. Show how to perform a 2 element match to 50 ohms termination using the Smith chart. Show that depending on the termination impedance that there is more than one combination of elements solving the problem.)
    2013-05-16 20:53:28下载
    积分:1
  • matlab100example
    提供MATLAB的算法源程序100个,有效节省了MATLAB初学着的掌握程度。(MATLAB algorithms to provide the source code 100, effective savings of MATLAB beginner s grasp of the extent.)
    2007-12-17 11:15:42下载
    积分:1
  • Codes-Source
    loading a text file from a directory to your workspace in matlab
    2009-04-17 23:15:13下载
    积分:1
  • wushizhen
    对信号分别无失真频率和失真频率带通采样得到采样后的频谱图(Signal distortion frequencies and distortion frequency bandpass sampling frequency spectrum after sampling)
    2013-05-18 22:49:43下载
    积分:1
  • 696518资源总数
  • 106215会员总数
  • 5今日下载