This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Array Creation and Concatenation

Create or combine scalars, vectors, matrices, or arrays


diag Diagonal matrices or diagonals of matrix
eye Create identity matrix with fixed-point properties
ndgrid Generate arrays for N-D functions and interpolation
ones Create array of all ones with fixed-point properties
zeros Create array of all zeros with fixed-point properties
Was this topic helpful?