Scilab 6.0.0

Please note that the recommended version of Scilab is 6.0.2. 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 |

## Comments

Add a comment:Please login to comment this page.