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

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

Aide Scilab >> Chaînes de caractères > sci2exp

sci2exp

converts an expression to a string

Calling Sequence

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

Arguments

a

a scilab expression, may be

-

constant,

-

polynomial

-

string matrix

-

list

-

boolean matrix

nam

character string

t

vector of string, contains the expression or the affectation instruction

lmax

integer, contains the maximum line length. default value is 90, lmax=0 indicate no line length control a single string is returned

Description

sci2exp converts expression to an instruction string if nam is given or to an expression string.

Examples

a=[1 2;3 4]
sci2exp(a,'aa')
sci2exp(a,'aa',0)
sci2exp(ssrand(2,2,2))
sci2exp(poly([1 0 3 4],'s'),'fi')

See Also

  • prettyprint — From any Scilab datatype and provide a representation to the TeX, LaTeX or MathML formats
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Oct 05 12:11:02 CEST 2011