Fixed-Point Blockset
  Go to block:
    Search    Help Desk 
FixPt Zero-Order Hold

The FixPt Zero-Order Hold block samples and holds its input for the specified sample period. The block accepts one input and generates one output, both of which can be scalar or vector. If the input is a vector, all elements of the vector are held for the same sample period.

This block provides a mechanism for discretizing one or more signals in time, or resampling the signal at a different rate. If your model contains multirate transitions, you must add FixPt Zero-Order Hold blocks between the fast to slow transitions. The sample rate of the FixPt Zero-Order Hold must be set to that of the slower block.

For slow to fast transitions, refer to FixPt Unit Delay. For more information about multirate transitions, refer to the Using Simulink book or the Real-Time Workshop User's Guide.

The time between samples is specified with the Sample time parameter.

Parameters and Dialog Box

Sample time
Sample time.

Characteristics

Input Port
Any data type supported by the blockset
Output Port
Same as the input
Direct Feedthrough
Yes
Sample Time
Discrete
Scalar Expansion
No
States
0
Vectorized
Yes



[ Previous | Help Desk ]