<< isreal Complex Discrete mathematics >>

Scilab Help >> Elementary Functions > Complex > real

real

real part

Calling Sequence

[y]=real(x)

Arguments

x

a real or complex vector or matrix

y

a real matrix

Description

real(x) is the real part of x (See %i to enter complex numbers).

Examples

real([1 %i 2])
real(1+0*%i)
real(2+3*%i)
real(1+%s)
real(sprand(3,3,0.1))

See Also


Report an issue
<< isreal Complex Discrete mathematics >>