symbolic linear system solver
[x, sexp] = trisolve(A, b) [x, sexp] = trisolve(A, b, sexp)
matrices of strings
symbolically solves A*x =b
, A
being assumed to be upper triangular.
sexp
is a vector of common subexpressions in
A, b, x
.
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) | ![]() | ![]() |
Version | Description |
5.5.2 | trisolve was removed after Scilab 5.5.2. |