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

Change language to:
English - Français - 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

Scilabヘルプ >> Strings > sci2exp

sci2exp

式を文字列に変換

呼び出し手順

t = sci2exp(a [,nam] [,lmax])

引数

a

以下に示すscilab式

-

定数,

-

多項式

-

文字列行列

-

リスト

-

論理値行列

-

ハンドル(図およびuicontrolのみ).

nam

文字列

t

文字列ベクトルで, 式またはダミー命令を含みます

lmax

整数で, 行の最大長を有します. デフォルト値は0で, 行の長さを制御を行わず, 単一の文字列が返されることを示します.

説明

sci2expは, namが指定されるた場合には 式を命令文字列に,さもなくば式文字列に変換します.

注意

  • a がハンドルの場合, sci2exp は階層的リンクがない結果 つまり,親および子の空のフィールドの結果を出力します.

  • t は,formatの 影響を受けます.

a=[1 2;3 4]
sci2exp(a,'aa')
sci2exp(a,'aa',10)
sci2exp(ssrand(2,2,2))
sci2exp(poly([1 0 3 4],'s'),'fi')
sci2exp(figure("figure_name","figure1"))
b=0.123456789;
format(5);
c=sci2exp(b)
format(10);
d=sci2exp(b)

参照

  • prettyprint — Scilabデータ型からTeX, LaTeXまたはMathML形式の出力を得る
  • format — set the default output format of decimal numbers
Report an issue
<< regexp Strings strcat >>

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:10:32 CET 2017