Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - English

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

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

Scilab manual >> 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.

<< semicolon (;) Scilab keywords star >>

Copyright (c) 2022-2024 (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:36 CET 2011