Extract main diagonal of input matrix
DSP System Toolbox / Math Functions / Matrices and Linear Algebra / Matrix Operations
The Extract Diagonal block populates the unoriented output vector with the elements on
the main diagonal of the M-by-N input matrix
A
. Equivalent MATLAB® code is given by:
D = diag(A)
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|