FUNCTION REFERENCE
mustBeReal
Validate that value is real.
Validate that value is real.
Syntax
mustBeReal(A)Throws an error if A is complex.
Example
mustBeReal([1 2 3])Differences from MATLAB: None.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.