Universite de Nice Sophia Antipolis Master MathMods Annee
8 pages

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris

Universite de Nice Sophia Antipolis Master MathMods Annee

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris
Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus
8 pages
Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus

Description

Niveau: Supérieur, Master
Universite de Nice Sophia-Antipolis Master 1 MathMods Annee 2008/2009 Some notes on SCILAB STEP 1 Get starting To run Scilab on Unix/Linux O.S. type in the window the word: scilab You get a Scilab window on your computer screen. This Scilab window has a menu (File, Control, Graphic Window, Help). 1.1 Manipulating variables, constants As programming language Scilab owns variables, constants, vectors. 1.1.1 Scalars Few examples are given ???? > x = 2. + sqrt(5) ???? > x = 3.e? 2 Usual arithmetic operations are valable with usual priority +,?, ?, /, ??. 1.1.2 Constants Scilab possesses predefined variables or protected variables known as constants. They cannot be changed. There are given in table 1. Constant meaning %pi pi = 3.14... %e e = 2.73... %i complexe number i s.t. i2 = ?1 %eps machine epsilon %inf +∞ %nan ”Not A Number” Table 1: Scilab constants. 1.1.3 String variables Examples of chains of caracters known as string variables are given. ???? > s =? subject?, v =? verb?, c =?? complement?? Some operations on string variables are shown in table 2. 1

  • save graphics

  • variables known

  • scilab

  • commands meaning xsave

  • logical variables

  • matrix operations

  • gives commands

  • operations meaning


Sujets

Informations

Publié par
Nombre de lectures 63

Extrait

Universit´edeNiceSophia-Antipolis Master 1 MathMods
Some
notes
on
STEP 1 Get starting
Anne´e2008/2009
SCILAB
To runScilabon Unix/Linux O.S. type in the window the word: scilab You get aScilabThiswindow on your computer screen. Scilabwindow has a menu (File, Control, Graphic Window, Help).
1.1 Manipulating variables, constants As programming languageScilabowns variables, constants, vectors.
1.1.1 Scalars Few examples are given − − −−> x= 2.+sqrt(5) − − −−> x= 3.e2 Usual arithmetic operations are valable with usual priority +,,, /,∗∗.
1.1.2 Constants Scilabpossesses predefined variables or protected variables known asconstants. They cannot be changed. There are given in table 1.
Constant %pi %e %i %eps %inf %nan
meaning π= 3.14... e= 2.73... 2 complexe numberis.t.i=1 machine epsilon +”Not A Number”
Table 1:Scilabconstants.
1.1.3 String variables Examples of chains of caracters known asstringvariables are given. 0 0 0 0 00 00 − − −−> s=subject , v=verb , c=complement Some operations on string variables are shown in table 2.
1
  • Univers Univers
  • Ebooks Ebooks
  • Livres audio Livres audio
  • Presse Presse
  • Podcasts Podcasts
  • BD BD
  • Documents Documents