登录
首页 » matlab » filter

filter

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

  • vcmat
    以前使用matlab和vc混合编程都使用的是先将m程序用mcc转化成dll,再在vc中调用 的方法。这种方法对比较复杂的m文件很方便,但是对一些小的程序,如曲线可视化、计算矩阵特征值等,对这些只需要一两行代码的小程序,再使用dll就得不偿失了。经过试验后,发现可以直接在C++程序中调用matlab c/c++ math & graphic library的函数。(before using Matlab and vc mixed programming using the first procedure used mcc m into dl l, then vc call method. This method of complex documents m very easy, but for some minor procedures, such as curve visualization, matrix eigenvalue calculation, and so on, these are just two lines need a small procedure code, reuse dll on the loss outweighs the gain. After testing, can be found directly in the C Programming Calling Matlab c/c math)
    2007-01-16 11:13:13下载
    积分:1
  • butter
    butterworth filter for images
    2015-01-16 13:06:47下载
    积分:1
  • CDE-fuzzy-09
    可变模糊迭代聚类模型程序,能够应用于多种指标综合评价和聚类问题。(Variable fuzzy clustering iterative model program that can be applied to a variety of indicators and evaluation clustering problem.)
    2013-12-31 14:55:23下载
    积分:1
  • MATLAB
    主要讲述了matlab相关的数学问题的解答,很全面。(Focuses on matlab related mathematical questions, very comprehensive.)
    2012-06-07 20:25:03下载
    积分:1
  • MetMAP
    MetMAP is a MATLAB Toolbox for Metabolical Modeling, Analysis and oPtimization (Met. M. A. P.). You can use this package to study metabolical systems from a theoretical point of view, analysing the pathway s structure and dynamics, but you can also use it for biotechnological purposes, evaluating optimal solutions in a genetical improvement process. All this calculations are evaluated using the S-System formalism (a part of Biochemical Systems Theory, BST) and the Indirect Optimization Method (IOM, developed by Torres, Voit et al). Additional information in our Website: http://webpages.ull.es/users/sympbst/pag_ing/metmap.htm
    2012-07-14 15:57:48下载
    积分:1
  • LPR
    车牌识别,自己用matlab做的车牌设别简单程序(License plate recognition, license plate to do their own design with matlab do simple procedures)
    2010-12-09 11:24:08下载
    积分:1
  • motionEstNTSS
    mption estimation NTSS
    2011-05-07 05:21:39下载
    积分:1
  • pinpufenxi
    建立正弦,矩形和白噪声的波形,然后对他们进行频谱分析。(Sine, rectangle and white noise waveform, and spectrum analysis.)
    2013-03-19 21:15:03下载
    积分:1
  • AchieveMaxSeries
    在论坛上经常有朋友求关于信号上下包络的程序。 本程序为本人编写的一个matlab程序。(at the forum frequently for friends on the next signal envelope procedures. The procedures for the preparation of the one I Matlab procedures.)
    2007-04-21 21:46:37下载
    积分:1
  • kdtree-realization
    K-d树实现。采用matalb和C++混合编译的方式实现。(kdtree provides a minimalistic implementation of kd-tree. The implementation can be used either inside MATLAB by means of MEX calls, or as a standalone tool, directly a C/C++ program. )
    2015-04-09 10:37:33下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载