DSP Blockset | ![]() ![]() |
Compute the square of the input matrix.
Library
Math Functions / Matrices and Linear Algebra / Matrix Operations
Description
The Matrix Square block computes the square of an M-by-N input matrix, u
, by premultiplying with the Hermitian transpose.
y = u' * u % Equivalent MATLAB code
A length-M 1-D vector input is treated as an M-by-1 matrix. For both sample-based and frame-based inputs, output y
is sample-based with dimension N-by-N.
Applications
The Matrix Square block is useful in a variety of applications:
y
, without explicitly forming u'
. It is therefore more efficient than other methods for computing the matrix square.y
, is the symmetric autocorrelation matrix, or outer product.Dialog Box
See Also
Matrix Multiply |
DSP Blockset |
Matrix Product |
DSP Blockset |
Matrix Sum |
DSP Blockset |
Transpose |
DSP Blockset |
![]() | Matrix Scaling | Matrix Sum | ![]() |