DSP Blockset
  Go to block:
    Search    Help Desk 

Basic Operations

A basic operation is one that processes a sample-based or frame-based input to produce a scalar result. For example, in basic mode (Value and Index) the Maximum block finds the maximum value among all the channels in a sample-based input or among all the samples in a frame-based input. The block provides this maximum value at the top output (Val), and provides the index (channel or sample number) of the maximum value at the bottom output (Idx). The block repeats this operation for each successive input.

The figure below illustrates how a Maximum block in basic mode operates on a sample vector sequence.

Basic operations process matrix inputs in the same way as vector inputs; the largest single matrix value and its index are output.



[ Previous | Help Desk | Next ]