isscalar
Check if an array has only one element.
(u)=isscalar(a)
Inputs
a Any array.
Outputs
u true if the input has only one element, and false otherwise.