| Target Support Package™ TC6 | ![]() |
C62x DSP Library — Math and Matrices
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 supports little-endian code generation only.

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.
![]() | C62x Vector Maximum Index | C62x Vector Minimum Value | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |