




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Introduction What is Scilab?
Introduction What is Scilab?
Introduction Getting started
Introduction Getting started
--> t = [0:0.01:10]; --> y = A * sin (3* t ); --> plot (t , y );
Introduction Getting started
--> b = [ -5;0;1]; --> x = inv ( A )* b x =
Introduction Getting started
Basics Elementary operations
ans =
--> 4^2/ ans =
--> 2(1+2 %i ) ans =
--> %i ^ ans =
--> cos (3)^2 + sin (3)^ ans =
--> exp (5) ans =
--> abs (1+ %i ) ans =
Basics Elementary operations
--> conj (3+2* %i ) ans =
--> log10 (10^4) ans =
Basics Variables
--> a = 2.5; --> b = 3; --> c = a * b c =
--> c + d ! - - error 4 Undefined variable : d
Basics Variables
--> cos (2* %pi ) ans =
--> %i ^ ans =
Matrices Defining and handling vectors
--> u = [0 1 2 3] u =
--> v = [0:0.2:1] v =
--> cos ( v ) ans =
Matrices Defining and handling vectors
--> u = [1;2;3] u =
--> length ( v ) ans =
--> mean ( v ) ans =