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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details |
|
Access |
public |
Defining Class |
pzmodel |
Sealed |
0 |
Static |
0 |
Parameter Description
Sets for this method … |
Default |
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' |
|
Spacing of frequencies:- 'lin' - Linear scale.
- 'log' - Logarithmic scale.
|
back to top
Some information of the method pzmodel/tomfir are listed below: |
Class name |
pzmodel |
Method name |
tomfir |
Category |
Operator |
Package name |
ltpda |
VCS Version |
3542afe99dea25c636b7ac3b82a9f6f8be9d447d |
Min input args |
1 |
Max input args |
-1 |
Min output args |
1 |
Max output args |
-1 |
|
Method: pzmodel/update |
|
Method: pzmodel/tomiir |
 |
©LTP Team