Skip to content

mustBeFloat

miscellaneous · scripts/miscellaneous/mustBeFloat.m

: mustBeFloat (A)

Check that A is a floating-point array (class double or single, real or complex, sparse or full) and stop with an error otherwise.