User`s guide

Pattern Matching
Because you chose Valid for the Output size parameter, the block
outputs only those parts of the correlation that are computed without the
zero-padded edges of any input.
7 Use the Maximum block to find the index of the maximum value in each
inputmatrix. SettheMode parameter to
Index.
The block outputs the zero-based location of the maximum value as a
two-element v ector of 32-bit unsigned integers at the Idx port.
8 Use the Data Type Conversion block to change the index values from 32-bit
unsigned integers to single-precision floating-po int values. Set the Output
data type mode parameter to
single.
8-5