Section: Inspection Functions
This function tests to see if the argument is a matrix. The syntax for ismatrix is
ismatrix
x = ismatrix(y)
and it returns a logical 1 if the argument is size N x M or M x N and a logical 0 otherwise.
N x M
M x N