Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português -

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

Scilab help >> Elementary Functions > sign

sign

符号関数

説明

X=sign(A)A(i,j)の符号からなる行列を返します. Aが複素数の場合, sign(A) = A./abs(A) 関数となります.

sign(rand(2,3))
sign(1+%i)

参照

  • abs — 絶対値, 大きさ
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Mar 03 11:00:51 CET 2011