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


real

実部

呼び出し手順

[y] = real(x)

引数

x

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

y

実数の行列

説明

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

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

// With polynomials:
A = [1-%i*%z (%z-%i)^2]
real(A)

// With rationals:
A = [ %z/(1-%z)  (1-%z)/%z^2];
B = A(1,[2 1])
C = A + %i*B
A, real(C)

参照

履歴

バージョン記述
6.0 Extension to rationals
Report an issue
<< isreal Complex Discrete mathematics >>

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 May 22 12:43:09 CEST 2023