functionfromReal
Generate a ZerosAndPoles data record from a real value
Information
Syntax
zp = ZerosAndPoles'constructor'.fromReal(r)
Description
This function constructs a ZerosAndPoles record zp from a real value, i.e. a without dynamics:
y = r*u
Therefore, the record is defined by
zp.k = r; zp.n1 = fill(0,1); zp.n2 = fill(0,1,2); zp.d1 = fill(0,1); zp.d2 = fill(0,1,2);
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | r | Value of real variable | |
| String | uName | "" | Input name |
| String | yName | "" | Output name |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| ZerosAndPoles | zp | = r |