Documentation

我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

Array Creation and Concatenation

Create or combine scalars, vectors, matrices, or arrays

Functions

accumarray Construct array with accumulation
blkdiag Construct block diagonal matrix from input arguments
diag Create diagonal matrix or get diagonal elements of matrix
eye Identity matrix
false Logical 0 (false)
freqspace Frequency spacing for frequency response
linspace Generate linearly spaced vector
logspace Generate logarithmically spaced vectors
meshgrid Rectangular grid in 2-D and 3-D space
ndgrid Rectangular grid in N-D space
ones Create array of all ones
rand Uniformly distributed random numbers
true Logical 1 (true)
zeros Create array of all zeros
cat Concatenate arrays along specified dimension
horzcat Concatenate arrays horizontally
vertcat Concatenate arrays vertically
Was this topic helpful?