eval_pole_zero()
Optionally evaluates rational polynomial function, when supplied with poles, zeros, and input values
Syntax
eval_pole_zero( zeros, poles, x, type ) where poles and zeros are either in list(...) or one-dimensional makearray(1,...) form
Arguments
| Name | Description | Range | Type | Required |
|---|---|---|---|---|
| zeros | one-dimensional array that specifies the scaling factor of the numerator, real and imaginary parts of zeros | (-∞, ∞) † | integer, real † † | yes |
| poles | one-dimensional array that specifies the scaling factor of the denominator, real and imaginary parts of poles | (-∞, ∞) † | integer, real † † | yes |
| x | input variable | (-∞, ∞) † | integer, real, complex | yes |
| type | the type of pole/zero specification | 0 or 1 † † † | integer | yes |
| † Individual elements of array may have values in this range. † † Individual elements of array may be integer or real valued but not complex. † † † type = 0: The simulator assumes that for each complex pole/zero, its complex conjugate is also a pole/zero. Only one pole/zero is specified for each complex pole/zero pair. The simulator will generate its complex conjugate. type = 1: All poles and zero need to be specified. The simulator assumes no poles or zeros exist other than what is specified. See Notes and Equations for details. | ||||
Examples
- Complex poles/zeros with type = 0
result = eval_pole_zero( list(2,1,2), list(5,3,7), x, 0 )
= 2*(x + 1 + j*2*PI*2)(x + 1 - j*2*PI*2)/[5(x + 3 + j*2*PI*7)*(x + 3 - j*2*PI*7)]
- Complex poles/zeros with type = 1
result = eval_pole_zero( list(2,1,2), list(5,3,7), x, 1 )
= 2*(x + 1 + j*2*PI*2)/[5*(x + 3 + j*2*PI*7)]
- Real poles/zeros
result = eval_pole_zero( list(2,1,0), list(5,3,0), x, 1 )
= 2*(x + 1)/[5*(x + 3)]
Real poles/zeros are not affected by the value of type.
- Duplicate poles/zeros
result = eval_pole_zero( list(2,1,0,1,0), list(5,3,0,2,5,2,5), x, 0 )
= 2*(x + 1)2/[5*(x + 3)*(x + 2 + j*2*PI*5)2*(x + 2 - j*2*PI*5)2]
Notes / Equations
- eval_pole_zero(list(a az1, fz1, ..., azn, fzn), list(b, ap1, fp1, ..., apm, fpm), s, 0) specifies the following function:

- If the type is set to 1 instead of 0, that is, eval_pole_zero(list(a az1, fz1, ..., azn, fzn), list(b, ap1, fp1, ..., apm, fpm), s, 1), the function will be:

Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()