|
The Data Shift block delays its input by a certain number of inputs; it waits to pass
an input value until it has received more data. You specify how many more input
values it must receive with the Sample Size attribute.
Specifying How to Delay Values
The block buffers its inputs in a first-in first-out queue of length Sample Size.
When it receives a value, it deletes the value at the beginning of the queue and
passes that value.
Configuring
This is the configuration panel for the Data Shift block.
|
Example
This table shows sample input and output for a Data Shift block with a Sample
Size of 3. The first row is the values it received. The second row is the values it
passed on.
|
Input
|
1.3
|
2.3
|
4.5
|
5.0
|
7.2
|
|
Output
|
|
|
|
1.3
|
2.3
|
See Also
For more information on how to use this block, see the sections below.
| Click here for more information... |
|---|
|
Basic Block Behavior
|
|
Data Delay
|
| Prev
| Next | Start of Chapter | End of Chapter | Contents | Index | (21 out of 25)
Copyright © 1996, Gensym Corporation, Inc.