functionfromFactorization
Generate a ZerosAndPoles data record from first and second order polynomials
Information
Syntax
zp = ZerosAndPoles'constructor'.fromFactorization(n1, n2, d1, d2, k, uName, yName)
Description
This function constructs a ZerosAndPoles record zp from first and second order polynomials.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:] | n1 | fill(0, 0) | [p^0] coefficients of 1st order numerator polynomials |
| Real[:,2] | n2 | fill(0, 0, 2) | [p,p^0] coefficients of 2nd order numerator polynomials |
| Real[:] | d1 | fill(0, 0) | [p^0] coefficients of 1st order denominator polynomials |
| Real[:,2] | d2 | fill(0, 0, 2) | [p,p^0] coefficients of 2nd order denominator polynomials |
| Real | k | 1.0 | Multiplicative factor of transfer function |
| String | uName | "" | Input name |
| String | yName | "" | Output name |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| ZerosAndPoles | zp | ZerosAndPoles transfer function |