Professional Documents
Culture Documents
Cla Scilab 2023007 PDF
Cla Scilab 2023007 PDF
Scilab Commands
2. Writing in editor
4. Variables
5. Functions
6. Display
(a) Writing: Typing the name of a variable display its value, except when there is
‘;’ at the end of the command line.
7. Loops
(a) Incrementation
(b) For
(c) While
8. Tests
- To test if two vectors are equal, isequal is used and ~isqual is used if they are
different
(b) If..then
9. 2-D plots
- By adding the program below, we obtain the plot of two curves, that of f in red
and that of g in green. The previous plot was cleared through the clf command
(“clear figure”)
(b) Statistics
(c) Display