David
Farruggio

MathGenie

isscalar

Determine whether input is scalar

Syntax and Description

isscalar(A) returns logical 1 (true) if size(A) returns [1 1], and logical 0 (false) otherwise.

Back to functions