Download as pdf or txt
Download as pdf or txt
You are on page 1of 15

ELECTRONICS AND COMMUICATION

SEMESTER : 6th _BATCH_B3


ENROLLMENT NO._210210111501
GOVERNMENT ENGINEERING COLLAGE
BHAVNAGAR-364002

EXPERIMENT:_1(a)

Aim: Installation and Basic of Scilab.

Objective:How to install Scilab.

Software:Scilab.

What is Scilab?
Scilab is free and open source software for numerical computation providing a powerful
computing environment for engineering and scientific applications. Scilab includes
hundreds of mathematical functions. It has a high-level programming language allowing
access to advanced data structures, 2D and 3D graphical functions. its ability to
interconnect with third-party technologies andapplications, Scilab can also act as a unique
platform to bring together codes written in different programming languages in a single,
unified language, thus facilitating their distribution, their back-up and use. A large number
of functionalities is included in Scilab.

• Math & Simulation


For usual engineering and science applications including mathematical operations and data
analysis.
• 2-D & 3-D Visualization
Graphics functions to visualize, annotate and export data and many ways to create and
customize various types of plots and charts.
• Optimization
Algorithms to solve constrained and unconstrained continuous and discrete optimization
problems.
• Statistics
Tools to perform data analysis and modeling.
• Control Systems
Standard algorithms and tools for control system study.
• Signal Processing
Visualize, analyze and filter signals in time and frequency domains.

FACULTY NAME : PROF._JANAK TRIVEDI


SUBJECT :_ FIBER OPTIC CIMMUNICATION(3161005) 1
ELECTRONICS AND COMMUICATION
SEMESTER : 6th _BATCH_B3
ENROLLMENT NO._210210111501
GOVERNMENT ENGINEERING COLLAGE
BHAVNAGAR-364002

• Application Development
Increase Scilab native functionalities and manage data exchanges with external tools.
• X-cos - Dynamic systems modeling
Modeling mechanical systems, hydraulic circuits, control systems.

Difference between Scilab and matlab :

Matlab Scilab
From file menu open and create new source From file menu open and create new source
file. Source file has extension “.m” file. source file has extension “.sci”
% when function returns a value function // when function does not returns a
[r]=test(a,b) value function r=test(a,b) endfunction
end
// when function does not returns a
%when function does not returns a value functiontest(a,b) endfunction
value function[]=test(a,b) end

%comment //comment
Write the function name in command Execute menu and load into scilab and then
window to run write the function name in command
window to run.
mod(x,y) Pmodulo(x,y)
fprintf(1,‘format string’,var1,var2,…) Printf(‘format string’,var1,var2,…)

Download scilab from https://www.scilab.org/.


Installation process of Scilab :-

FACULTY NAME : PROF._JANAK TRIVEDI


SUBJECT :_ FIBER OPTIC CIMMUNICATION(3161005) 2
ELECTRONICS AND COMMUICATION
SEMESTER : 6th _BATCH_B3
ENROLLMENT NO._210210111501
GOVERNMENT ENGINEERING COLLAGE
BHAVNAGAR-364002

FACULTY NAME : PROF._JANAK TRIVEDI


SUBJECT :_ FIBER OPTIC CIMMUNICATION(3161005) 3
ELECTRONICS AND COMMUICATION
SEMESTER : 6th _BATCH_B3
ENROLLMENT NO._210210111501
GOVERNMENT ENGINEERING COLLAGE
BHAVNAGAR-364002

FACULTY NAME : PROF._JANAK TRIVEDI


SUBJECT :_ FIBER OPTIC CIMMUNICATION(3161005) 4
ELECTRONICS AND COMMUICATION
SEMESTER : 6th _BATCH_B3
ENROLLMENT NO._210210111501
GOVERNMENT ENGINEERING COLLAGE
BHAVNAGAR-364002

FACULTY NAME : PROF._JANAK TRIVEDI


SUBJECT :_ FIBER OPTIC CIMMUNICATION(3161005) 5
ELECTRONICS AND COMMUICATION
SEMESTER : 6th _BATCH_B3
ENROLLMENT NO._210210111501
GOVERNMENT ENGINEERING COLLAGE
BHAVNAGAR-364002

FACULTY NAME : PROF._JANAK TRIVEDI


SUBJECT :_ FIBER OPTIC CIMMUNICATION(3161005) 6
ELECTRONICS AND COMMUICATION
SEMESTER : 6th _BATCH_B3
ENROLLMENT NO._210210111501
GOVERNMENT ENGINEERING COLLAGE
BHAVNAGAR-364002

Conclusion :-

From this practical I have learned about installation of Scilab.

FACULTY NAME : PROF._JANAK TRIVEDI


SUBJECT :_ FIBER OPTIC CIMMUNICATION(3161005) 7
ELECTRONICS AND COMMUICATION
SEMESTER : 6th _BATCH_B3
ENROLLMENT NO._210210111501
GOVERNMENT ENGINEERING COLLAGE
BHAVNAGAR-364002

EXPERIMENT: 1(B)
AIM : Basic of Scilab.

• Mathematical Operator :

Fig. 1(b)_1

Fig. 1(b)_2

FACULTY NAME : PROF._JANAK TRIVEDI


SUBJECT :_ FIBER OPTIC CIMMUNICATION(3161005) 8
ELECTRONICS AND COMMUICATION
SEMESTER : 6th _BATCH_B3
ENROLLMENT NO._210210111501
GOVERNMENT ENGINEERING COLLAGE
BHAVNAGAR-364002

• Mathematical Trigonometry Function :

Fig. 1(b)_3

• Mathematical Other Function :

Fig. 1(b)_4

FACULTY NAME : PROF._JANAK TRIVEDI


SUBJECT :_ FIBER OPTIC CIMMUNICATION(3161005) 9
ELECTRONICS AND COMMUICATION
SEMESTER : 6th _BATCH_B3
ENROLLMENT NO._210210111501
GOVERNMENT ENGINEERING COLLAGE
BHAVNAGAR-364002

• Mathematical Other Function :

Fig. 1(b)_5

FACULTY NAME : PROF._JANAK TRIVEDI


SUBJECT :_ FIBER OPTIC CIMMUNICATION(3161005) 10
ELECTRONICS AND COMMUICATION
SEMESTER : 6th _BATCH_B3
ENROLLMENT NO._210210111501
GOVERNMENT ENGINEERING COLLAGE
BHAVNAGAR-364002

Fig. 1(b)_6
• Complex Number :

Fig. 1(b)_7

FACULTY NAME : PROF._JANAK TRIVEDI


SUBJECT :_ FIBER OPTIC CIMMUNICATION(3161005) 11
ELECTRONICS AND COMMUICATION
SEMESTER : 6th _BATCH_B3
ENROLLMENT NO._210210111501
GOVERNMENT ENGINEERING COLLAGE
BHAVNAGAR-364002

• Data types :

Fig. 1(b)_8

Fig. 1(b)_9

FACULTY NAME : PROF._JANAK TRIVEDI


SUBJECT :_ FIBER OPTIC CIMMUNICATION(3161005) 12
ELECTRONICS AND COMMUICATION
SEMESTER : 6th _BATCH_B3
ENROLLMENT NO._210210111501
GOVERNMENT ENGINEERING COLLAGE
BHAVNAGAR-364002

• Accessing to a Matrix with colon operator :

Fig. 1(b)_10

FACULTY NAME : PROF._JANAK TRIVEDI


SUBJECT :_ FIBER OPTIC CIMMUNICATION(3161005) 13
ELECTRONICS AND COMMUICATION
SEMESTER : 6th _BATCH_B3
ENROLLMENT NO._210210111501
GOVERNMENT ENGINEERING COLLAGE
BHAVNAGAR-364002

Fig. 1(b)_11
• Defining a Function :

Fig. 1(b)_12

FACULTY NAME : PROF._JANAK TRIVEDI


SUBJECT :_ FIBER OPTIC CIMMUNICATION(3161005) 14
ELECTRONICS AND COMMUICATION
SEMESTER : 6th _BATCH_B3
ENROLLMENT NO._210210111501
GOVERNMENT ENGINEERING COLLAGE
BHAVNAGAR-364002

• Plotting :

Fig. 1(b)_13

Conclusion :-

From this practical I have learn Basic of Scilab.

FACULTY NAME : PROF._JANAK TRIVEDI


SUBJECT :_ FIBER OPTIC CIMMUNICATION(3161005) 15

You might also like