sample

Navigation:  Library > Signal > Discrete >

sample

Previous pageReturn to chapter overviewNext page

Library

Signal\Discrete

Use

Domains: Discrete, Continuous. Size: 1-D. Allowed in: Block Diagrams.

Description

This model samples and holds the input every T [s].

 

output = input; (t = k)

where k = n*T , with n = 0,1,2,3, ...

 

The sampletime T can be set in the Simulator (choose Properties, Run and Discrete System).

Interface

Inputs

Description

input

 

Outputs

 

output

 

Limitations

The input of this model is a continuous signal. The output of this model is a discrete signal. 20-sim will automatically detect the existence of discrete models. Each chain of discrete models will be assigned a specific sampletime. You can set this sample time to any desired value in the Simulator (choose Properties, Simulation and Discrete System).