Output : Practical-16
Output : Practical-17
Output : Practical-18
Output : Practical-19
Output : Practical-20
Output : Practical-21
Output : Practical-22
Output : Practical-23
Output : Practical-24
Output : Practical-25
PRACTICAL 26: Install SciLab and get familiar with general environment and
console.
Installation and getting familiar with SciLab
Install Scilab Scilab is numerical computation software that anybody can freely
download.
Available under Windows, Linux and Mac OS X, Scilab can be downloaded at
the following address: http://www.scilab.org/
How to install SCILAB on Windows Operating System
Step by Step Procedure
On start windows button select on sciLab-6.0.1(64-bit) console
Variable declaration and operation (+, -, *, /, \)
Here I declared 2 variables x and y with their values and you can see on the
right side it is show the variables in variable browser window x =1 and y=12
And addition operation z= x+y; and also, to display the result you can use
function disp(z);
Note: In SciLab variables are by default double type data type always
PRACTICAL 27: Get simple mathematical/numerical operations executed in
SciLab.
Code:
In SciLab if you don’t declare the variable name for the operation result
and output it will use the default name as ans see the below:
Now I performed the new operation as Multiplication now the default ans
variable value is changed you can see the below:
Now see all operations together addition, subtraction, Multiplication and division.
In SciLab we also have left division means value of divided by value of x which is basically
equal to y divided by x.
PRACTICAL 28:Plot curves/graphs using the graphics window
Plotting in SciLab - Simple Example Code
OUTPUT: