Scilab 6.1.0
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
imag
imaginary part of complex numbers, polynomials, or rationals
Syntax
y = imag(x)
Arguments
- x
matrix of real or complex numbers (full or sparse storage), or of polynomials or rationals with real or complex coefficients.
- y
matrix of real numbers, polynomials or rationals, with same sizes than
x
.
Description
imag(x)
is the imaginary part of
x
. (See %i
to enter complex
numbers).
Examples
See also
- real — real part of complex numbers, polynomials, or rationals
History
Version | Description |
6.0 | Extension to rationals |
Report an issue | ||
<< conj | Complex numbers | imult >> |