ismatrix
Tests if a value is a matrix.
Syntax
R = ismatrix(A)
Inputs
- A
 - The input to be tested to determine if it is a matrix.
 
Outputs
- R
 - R is a logical value indicating whether A is a matrix. Scalars and strings are considered matrices.
 
Examples
Scalar example:
R = ismatrix(1)
      R = 1
      R = ismatrix([1,2;3,4])R = 1R = ismatrix({[1,2;3,4]})R = 0