| DSP Blockset | Search  Help Desk |
| Create Diagonal Matrix | See Also |
Create a matrix from a vector diagonal.
Library
Matrix Functions, in Math FunctionsDescription
The Create Diagonal Matrix block creates a square matrix from the diagonal specified by the vector input. The elements of the length-M input vector are used to populate the diagonal of an M-by-M matrix output. The elements off the diagonal are zero. A matrix input,u, is treated as a vector, u(:).
Note
Dialog Box

See Also
Constant Diagonal Matrix