Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes

Change language to:
Français - 日本語 - Português

Please note that the recommended version of Scilab is 6.1.1. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilab manual >> Elementary Functions > solve

solve

symbolic linear system solver

Calling Sequence

[x]=solve(A,b)

Arguments

A,b,x

matrix (resp. vectors) of character strings

Description

solves A*x = b when A is an upper triangular matrix made of character strings.

Examples

A=['1','a';'0','2'];   //Upper triangular 
b=['x';'y'];

w=solve(A,b)

a=1;x=2;y=5;
evstr(w)
inv([1,1;0,2])*[2;5]

See Also

<< size Elementary Functions sqrt >>

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:
Wed Jan 26 16:23:40 CET 2011