Creates a matrix of zeroes (or ones) of the given dimensions; if only one number is given, that will be the number of rows and columns.
Gives the number of elements in a vector and the length of the largest dimension (either rows or columns) in a matrix.
Returns the numbers of rows and columns in a matrix (rows first, then columns).
Returns the total number of elements in an array (vector or matrix).
end refers to the last element in a vector. vec(end) = vec(length(vec)). In a matrix, it can refer to the last element in a row or column. Ex: mymat(end,1) returns the last element of the first row and first column.
Iterates through the matrix columnwise and returns a new matrix with the new dimensions.
Flips the matrix from left to right; the left-most column becomes the last column and so forth.
Flips up to down. Works from outsides in. (1st becomes last, 2nd becomes 2nd to last, etc.)
Rotates the matrix counterclockwise 90 degrees. The top-right value becomes the top-left value; last column becomes the first row.
Creates a larger matrix, which consists of an m x n matrix of copies of the matrix named in the function call. Ex: a 2 x 2 matrix when called in repmat(mat,2,3) becomes a 6 x 4 matrix with repetitions of the original 2 x 2.
[ ]; a vector that stores no values, created using empty brackets.