Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.0 - Français

Change language to:
English - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Aide de Scilab >> Fonctions Elémentaires > Nombres complexes > imag

imag

partie imaginaire de nombres, polynômes ou fractions complexes

Syntaxe

y = imag(x)

Paramètres

x

Matrice réelle ou complexe (dense ou creuse). Matrice de polynômes ou de fractions rationnelles à coefficients réels ou complexes.

y

matrice de nombres réels, ou de polynômes ou fractions rationnelles à coefficients réels. x et y ont la même taille.

Description

imag(x) renvoie la partie imaginaire de x (voir %i pour entrer des nombres complexes).

Exemples

c = [ 2 %i, 1+0*%i, 2-3*%i  log(-1) (-1)^(1/3) ]
imag(c)

s = sprand(3,3,0.3) + sprand(3,3,0.3)*%i
imag(s)

// Polynômes complexes :
A = [1-%i*%z (%z-%i)^2]
imag(A)

// Fractions rationnelles complexes :
A = [ %z/(1-%z)  (1-%z)/%z^2];
B = A(1,[2 1]);
C = A + %i*B
B, imag(C)

Voir aussi

  • real — partie réelle de nombres, polynômes ou fractions complexes

Historique

VersionDescription
6.0 Extension aux fractions rationnelles
Report an issue
<< conj Nombres complexes imult >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 14 15:06:32 CET 2017