| DSP Blockset | Search  Help Desk |
| Distributor | See Also |
Convert a scalar input to a vector output (serial-to-parallel conversion).
Library
Switches and Counters, in General DSPDescription
The Distributor block acquires N sequential input samples, and distributes the acquired samples across the N channels of the output. N is specified by the Output vector width parameter. The rate of the output is slower than the input rate by a factor of N. For scalar inputs, the block distributes the acquired scalar samples across the N elements of the vector output. For vector inputs, the block distributes the acquired vector samples across the N rows of the matrix output. The Distributor block's buffer is initialized to the value specified by the Initial condition parameter, and the block always outputs this buffer at the first simulation step (t=0). If the block's output is a vector, the Initial condition can be a vector of the same size, or a scalar value to be repeated across all elements of the initial output. If the block's output is a matrix, the Initial condition can be a matrix of the same size, a vector (of length equal to the number of matrix rows) to be repeated across all columns of the initial output, or a scalar to be repeated across all elements of the initial output. The Distributor block is functionally equivalent to the Buffer block.Dialog Box

See Also
Buffer