Minimum Phase IIR Filter from Attenuation Data Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: minphasefitiir.m
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Duane Hanselman (View more)

Minimum Phase IIR Filter from Attenuation Data script description:




Publisher review:
Minimum Phase IIR Filter from Attenuation Data - Find Minimum Phase, Minimum Order IIR Filter from Attenuation Data in dB. MINPHASEFITIIR Minimum Phase Transfer Function Fit from Attenuation Data.N,D,K]=MINPHASEFITIIR(Fk,Ak,NP) finds the IIR filter transfer function K*N(z)/D(z) of minimum order that fits the attenuation data in Ak and Fk. Ak is a vector of attenuations in dB and Fk is a vector of normalized frequencies associated with Ak. That is, the n-th values in Ak and Fk, Ak(n) and Fk(n) specify an attenuation and associated frequency to be met by the filter. The algorithm assumes that the input data is a piecewise linear description of the attenuation specifications to be met.k(1)>0 is required and it is assumed that the attenuation between 0 and Fk(1) has zero slope. Fk(end) must be less than 1.0, which is the Nyquist frequency (i.e., one half the sampling frequency) as used in the Signal Processing Toolbox. It is also assumed that the attenuation slope is zero beyond Fk(end).NP is the number of poles (and zeros) to add to the minimum number determined by the algorithm. If not given, NP=2 is chosen. The optimum value for NP cannot be predetermined. Simple attenuation characteristics may work well with NP=0. Attenuation characteristics having sharper transitions or a greater number of passbands often require a greater NP. Increasing NP does not always lead to greater fit accuracy.MINPHASEFITIIR(Fk,Ak,NP,OPTIONS) includes the structure variable OPTIONS which sets options for the function FMINSEARCH that is used to find the optimum transfer function. See the help text for FMINSEARCH for information on setting options.Notes: (1) No phase information is needed since the fit is to a minimum phase transfer function for which there is a unique relationship between the gain (or attenuation) and phase. (2) Attenuation is inverse of gain, so in dB it is the negative of the filter gain in dB. (3) The bilinear transformation is used to map the discrete time requirements into continuous time requirements. The design is then implemented using the Irons-Gilbert algorithm, and the final results are transformed back into the discrete domain.Example: A bandpass filter with arithmetic passband symmetry.Fk=linspace(0.25,0.75,51);Ak=25*(1-cos(3*pi*(Fk-0.5)));NP=2;Result is 6th order and has peak error of about 0.4 dB in the passband. Requirements: ยท MATLAB Release: R14SP1
Minimum Phase IIR Filter from Attenuation Data is a Matlab script for Signal Processing scripts design by Duane Hanselman. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Minimum Phase IIR Filter from Attenuation Data - Find Minimum Phase, Minimum Order IIR Filter from Attenuation Data in dB.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5