<< trianfml Symbolic bloc2exp >>
removed >> removed > 5-5-2 > Symbolic > trisolve

trisolve

symbolic linear system solver

Calling Sequence

[x, sexp] = trisolve(A, b)
[x, sexp] = trisolve(A, b, sexp)

Arguments

A,b

matrices of strings

Description

symbolically solves A*x =b , A being assumed to be upper triangular.

sexp is a vector of common subexpressions in A, b, x.

Examples

A=['x','y';'0','z'];b=['0';'1'];
w=trisolve(A,b)
x=5;y=2;z=4;
evstr(w)
inv(evstr(A))*evstr(b)

See Also

History

VersionDescription
5.5.2 trisolve was removed after Scilab 5.5.2.

<< trianfml Symbolic bloc2exp >>