FUNCTION REFERENCE

real

Real part.

Real part.

Syntax

real(Z)

Returns the real part as a real array. Real input is returned unchanged.

Example

real(3+4i)   % 3

Differences from MATLAB: none known.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.