isreal
Return true if all imaginary part is a zero array.
Syntax
res = isreal(var)
Input argument
var - a variable
Output argument
res - a logical: true or false
Description
isreal returns a logical true if var is a non-complex matrix or scalar and a logical false otherwise.
Examples
See also
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET
Last updated