Array Functions
MATLAB provides the following functions to sort, rotate, permute, reshape, or shift array contents.
length - Length of vector or largest array dimension
ndims - Number of array dimensions
numel - Number of array elements
size - Array dimensions
iscolumn - Determines whether input is column vector
isempty - Determines whether array is empty
ismatrix - Determines whether input is matrix
isrow - Determines whether input is row vector
isscalar - Determines whether input is scalar
isvctore- Determines whether input is vector
blkdiag - Constructs block diagonal matrix from input arguments
circshift - Shifts array circularly
ctranspose - Complex conjugate transpose
diag - Diagonal matrices and diagonals of matrix
flipdim - Flips array along specified dimension
fliplr - Flips matrix from left to right
flipud - Flips matrix up to down
ipermute - Inverses permute dimensions of N-D array
permute - Rearranges dimensions of N-D array
repmat - Replicates and tile array
reshape - Reshapes array
rot90 - Rotates matrix 90 degrees
shiftdim - Shifts dimensions
issorted - Determines whether set elements are in sorted order
sort - Sorts array elements in ascending or descending order
sortrows - Sorts rows in ascending order
squeeze - Removes singleton dimensions
transpose - Transpose
vectorize - Vectorizes expression
No comments:
Post a Comment