Embedded Target for Texas Instruments C6000 DSPs | ![]() ![]() |
Compute the maximum value for each channel of an input signal
Library
C62x DSP Library--Math and Matrices
Description
The Vector Maximum Value block returns the maximum value in each channel (vector) of the input signal. The input can be any real, 16-bit, signed fixed-point data type. The number of samples on each input channel must be an integer multiple of four and must be at least 16. The output data type matches the input data type.
The Vector Maximum Value block supports both continuous and discrete sample times. This block also supports both little-endian and big-endian code generation.
Dialog Box
Algorithm
In simulation, the Vector Maximum Value block is equivalent to the TMS320C62x DSP Library assembly code function DSP_maxval
. During code generation, this block calls the DSP_maxval
routine to produce optimized code.
See Also
![]() | Vector Maximum Index | Vector Minimum Value | ![]() |