Method pzmodel/tomfir


  TOMFIR approximates a pole/zero model with an FIR filter.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: TOMFIR approximates a pole/zero model with an FIR filter.
               The response of the pzmodel is computed using pzmodel/resp with
               the additional input parameter of param('f1', 0). The final
               frequency in the response is set automatically from the
               pzmodel/resp function if not specified as an input. This upper
               frequency is then taken as the Nyquist frequency and the
               sample rate of the corresponding fsdata AO is set accordingly.
               The function then calls mfir() with the new fsdata AO as input.
               The result is an FIR filter designed to have a magnitude response
               equal to the magnitude response of the pole/zero model. The filter
               has linear phase and the phase of the pzmodel is ignored.
 
  CALL:        f = tomfir(pzm)
               f = tomfir(pzm, plist)
 
  Parameters Description
 
  VERSION:     $Id: tomfir.m,v 1.18 2011/04/08 08:56:32 hewitson Exp $
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class pzmodel
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
FS 10 none Frequency of the fir filter.
F1 0 none Start frequency.
F2 5 none Stop frequency.
NF 1000 none Number of evaluation frequencies.
SCALE 'lin'
  • 'lin'
  • 'log'
Spacing of frequencies:
  • 'lin' - Linear scale.
  • 'log' - Logarithmic scale.
back to top back to top

Some information of the method pzmodel/tomfir are listed below:
Class name pzmodel
Method name tomfir
Category Operator
CVS Version $Id: tomfir.m,v 1.18 2011/04/08 08:56:32 hewitson Exp $
Min input args 1
Max input args -1
Min output args 1
Max output args -1




©LTP Team