(u)=isnumeric(a)
Inputs | |
a |
Any array. |
Outputs | |
u |
true (1) if all the input is a numeric array and only numbers can be assigned as its elements , and false (0)
otherwise.
|
>>a=rand(4,4) >>isnumeric(a) 1 >>// Non-numeric elements may be assigned to cell arrays. >>isnumeric({1,3,4}) 0