Main Content

First-Order Hold (Obsolete)

Implement first-order sample-and-hold

  • First-Order Hold block

Libraries:
Simulink / Discrete

Description

Note

First-Order Hold is not recommended for continuous to discrete signal conversion. Use Zero-Order Hold instead.

The First-Order Hold block implements a first-order sample-and-hold that operates at the specified sampling interval.

This figure compares the output from a Sine Wave block and a First-Order Hold block.

Examples

expand all

This example shows how to perform a first-order sample-and-hold of a sine wave signal using the First-Order Hold block.

Ports

Input

expand all

Input signal, specified as a scalar, vector, or matrix.

Data Types: double

Output

expand all

First-order sample and hold applied to the input signal.

Data Types: double

Parameters

expand all

The time interval between samples. See Specify Sample Time for more information.

Programmatic Use

Block Parameter: Ts
Type: character vector
Values: scalar | vector
Default: '1'

Block Characteristics

Data Types

double

Direct Feedthrough

no

Multidimensional Signals

no

Variable-Size Signals

no

Zero-Crossing Detection

no

Extended Capabilities

Version History

Introduced before R2006a