Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - 日本語

Change language to:
English - Français - Português - Русский

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

Scilabヘルプ >> Elementary Functions > Complex > imag

imag

虚部

呼び出し手順

y = imag(x)

引数

x

実数または複素数のベクトルまたは行列.

y

matrix of real numbers, polynomials or rationals, with same sizes than x.

説明

imag(x)は, xの虚部です. ( 複素数を入力するには%iを参照ください).

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)

// Polynomials with complex coeficients:
A = [1-%i*%z (%z-%i)^2]
imag(A)

// Rationals with complex coeficients:
A = [ %z/(1-%z)  (1-%z)/%z^2];
B = A(1,[2 1]);
C = A + %i*B
B, imag(C)

参照

履歴

バージョン記述
6.0 Extension to rationals
Report an issue
<< conj Complex imult >>

Copyright (c) 2022-2024 (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:
Mon Jan 03 14:37:47 CET 2022