Fixed-Point Blockset | ![]() ![]() |
Support calculations involving sample time
Library
Description
The Sample Time Multiply block is a masked S-function that adds, subtracts, multiplies, or divides the input signal, u, by a weighted sample time Ts.
You specify the math operation with the Operation parameter. Additionally, you can specify to use only the weight with either the sample time or its inverse.
Enter the weighting factor with the Weight value. If the weight is 1, w is removed from the equation.
For a detailed description of all block parameters, refer to "Block Parameters" on page 9-4. For more information about converting from one Fixed-Point Blockset data type to another, refer to "Signal Conversions" on page 4-26.
The Calculus library contains the following implementations, which are all linked to the Sample Time Multiply block but have different parameter settings:
Parameters and Dialog Box
+
, -
, *
, /
, Ts
only, 1/Ts
only.Characteristics
![]() | Sample Time Divide | Sample Time Probe | ![]() |