Skip to content

mustBeReal

miscellaneous · scripts/miscellaneous/mustBeReal.m

: mustBeReal (x)

Error unless every element of x is real.

Matches MATLAB R2026a (isreal).