Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - 日本語 - Русский

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

Scilab help >> Scilab > Scilab keywords > slash

slash

(/) right division and feed back

Description

Right division. x=A / b is the solution of x*b=A.

b/a = (a' \ b')'.

a./ b is the matrix with entries a(i,j)/ b(i,j). If b is scalar (1x1 matrix) this operation is the same as a./b*ones(a). (Same convention if a is a scalar).

Remark that 123./b is interpreted as (123.)/b. In this cases dot is part of the number not of the operator.

Backslash stands for left division.

System feed back. S=G/.K evaluates S=G*(eye()+K*G)^(-1) this operator avoid simplification problem.

Remark that G/.5 is interpreted as G/(.5). In such cases dot is part of the number, not of the operator.

Comment // comments a line i.e. lines which begin by // are ignored by the interpreter.

See Also

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Oct 01 17:34:33 CEST 2012