LIBRARY
DiscreteTransferFunction ​
A discrete transfer function H(z) = B(z)/A(z).
Usage ​
DiscreteComponents.DiscreteTransferFunction()
Parameters: ​
| Name | Description | Units | Default value |
|---|---|---|---|
b | Numerator coefficients (descending powers of z) | – | |
a | Denominator coefficients (descending powers of z) | – |
Connectors ​
u- This connector represents a real signal as an input to a component (RealInput)y- This connector represents a real signal as an output from a component (RealOutput)
Behavior ​
Source ​
dyad
"A discrete transfer function H(z) = B(z)/A(z)."
external component DiscreteTransferFunction@[input clk extends Discrete]
"The input signal"
u = RealInput@[clk]() {
"Dyad": {
"placement": {
"diagram": {"iconName": "default", "x1": -50, "y1": 450, "x2": 50, "y2": 550, "rot": 0}
},
"tags": []
}
}
"The output signal"
y = RealOutput@[clk]() {
"Dyad": {
"placement": {
"diagram": {"iconName": "default", "x1": 960, "y1": 450, "x2": 1060, "y2": 550, "rot": 0}
},
"tags": []
}
}
"Numerator coefficients (descending powers of z)"
structural parameter b::Real[:]
"Denominator coefficients (descending powers of z)"
structural parameter a::Real[:]
relations
metadata {
"Dyad": {"icons": {"default": "dyad://DiscreteComponents/DiscreteTransferFunction.svg"}}
}
endFlattened Source
dyad
"A discrete transfer function H(z) = B(z)/A(z)."
external component DiscreteTransferFunction
"The input signal"
u = RealInput@[clk]() {
"Dyad": {
"placement": {
"diagram": {"iconName": "default", "x1": -50, "y1": 450, "x2": 50, "y2": 550, "rot": 0}
},
"tags": []
}
}
"The output signal"
y = RealOutput@[clk]() {
"Dyad": {
"placement": {
"diagram": {"iconName": "default", "x1": 960, "y1": 450, "x2": 1060, "y2": 550, "rot": 0}
},
"tags": []
}
}
"Numerator coefficients (descending powers of z)"
structural parameter b::Real[:]
"Denominator coefficients (descending powers of z)"
structural parameter a::Real[:]
relations
metadata {
"Dyad": {"icons": {"default": "dyad://DiscreteComponents/DiscreteTransferFunction.svg"}}
}
endTest Cases ​
No test cases defined.
Related ​
Examples
Experiments
Analyses