.. highlightlang:: us .. _isreal: isreal ====== .. index:: isreal .. us.tag isreal ENGLISH :ref:`isreal` checks if its argument is a real scalar or real matrix. .. function:: bool = isreal(m) .. us.return **Return Value** *bool* is TRUE (1), if the argument is a real scalar or real matrix and FALSE (0), if the argument is of another type. .. us.params **Parameters** .. uparam:: m *m* is a scalar, matrix or function. .. us.example **Example** :: a = 1.23 isreal(a) 1.0000 isreal(sin) 0.0000 isreal(1 + 3i) 0.0000 .. seealso:: :ref:`overview-mathematic`, :ref:`type`, :ref:`iscomplex`, :ref:`isstring` :sub:`id-539495`