Skip to content
LIBRARY
DiscreteTransferFunction.md

DiscreteTransferFunction ​

A discrete transfer function H(z) = B(z)/A(z).

Usage ​

DiscreteComponents.DiscreteTransferFunction()

Parameters: ​

NameDescriptionUnitsDefault value
bNumerator coefficients (descending powers of z)–
aDenominator 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"}}
}
end
Flattened 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"}}
}
end


Test Cases ​

No test cases defined.

  • Examples

  • Experiments

  • Analyses