DSP Blockset
  Go to block:
    Search    Help Desk 
Commutator    See Also

Convert a vector input to a scalar output (parallel-to-serial conversion).

Library

Switches and Counters, in General DSP

Description

The Commutator block sequentially samples the N elements of an input vector (representing N channels), and outputs each sample in succession in a scalar sequence with a sample rate N times faster than the input vector sample rate.

A matrix input, u, is reshaped to a vector input, u(:), before sampling.

The Commutator block is initialized with a full buffer of zeros, which it begins to output at the start of the simulation. Inputs to the block are therefore delayed by one input sample period (N elements, or Tsi seconds).

The Commutator block is functionally equivalent to an Unbuffer block for vector inputs.

Dialog Box

See Also

Distributor
Unbuffer


[ Previous | Help Desk | Next ]