SlideShare a Scribd company logo
7
Most read
8
Most read
11
Most read
Submitted By:
1DA19EC428- Rajath R Navalgi
1DA19EC433- Sachin Ramachandra Achari
1DA19EC434- Sachin Subrahmanya Shet
1DA19EC436- Vijay Kumar N
1DA19EC438- Vinay Kumar HS
1DA19EC439- Vinod
Group Activity for:
Digital Signal Processing (18EC52)
BACHELOR OF ENGINEERING
In
ELECTRONIC AND COMMUNICATION ENGINEERING
CONTENTS
 Introduction to Scilab
 Linear Convolution
 Algorithm
 Scilab Code:
 Convolution using Direct formula
 Convolution using inbuilt function
INTRODUCTION TO SCILAB
 Scilab is a free and open-source, cross-platform numerical computational package and a high-level,
numerically oriented programming language. It can be used for signal processing, statistical analysis,
image enhancement, fluid dynamics simulations, numerical optimization, and modeling, simulation of
explicit and implicit dynamical systems and (if the corresponding toolbox is installed) symbolic
manipulations.
 Scilab is one of the two major open-source alternatives to MATLAB, the other one being GNU
Octave.Scilab puts less emphasis on syntactic compatibility with MATLAB than Octave does, but it is
similar enough that some authors suggest that it is easy to transfer skills between the two systems.
LINEAR CONVOLUTION
 Convolution is a mathematical operation used to express the relation between input and
output of an LTI system.
 It relates input, output and impulse response of an LTI system as
 y(n)=x(n)∗h(n)
Where y (n) = output of LTI
x (n) = input of LTI
h (n) = impulse response of LTI
Discrete Convolution
y(n)=x(n)∗h(n)
=
𝑘−∞
∞
𝑥 𝑘 ℎ(𝑛 − 𝑘)
By using convolution we can find zero state response of the system.
ALGORITHM
 Give input sequence x[n].
 Give impulse response sequence h(n)
 Find the convolution y[n] using the Formula method or using Scilab convol() function
 Plot x[n],h[n],y[n]
SCILAB CODE:
 Using Direct formula method:
EXAMPLE-1:
 enter x seq[1,2,3,4]
 enter h seq[1,1,1]

 y=
1.
3.
6.
9.
7.
4.
RESULT WAVEFORM FOR EXAMPLE-1:
SCILAB CODE:
 Using convol() function.
 Syntax
[y]=convol(h,x)
[y,e1]=convol(h,x,e0)
 Description
Calculates the convolution y= h*x of two discrete sequences by using the fft. The convolution is defined as follows:
Overlap add method can be used.
SCILAB CODE:
EXAMPLE-2:
 enter x sequence[1,2]
 enter h sequence[1,2,5]
 y=
1. 4. 9. 10.
RESULT WAVEFORM FOR EXAMPLE-2:
Convolution using Scilab

More Related Content

PDF
Neural Networks: Rosenblatt's Perceptron
PDF
MINOR PROJECT automated street light
PPTX
Paper battery
PPTX
Alcohol detector
DOCX
NOISE CANCELATION USING MATLAB
PDF
IIR filter realization using direct form I & II
DOCX
Embedded system for traffic light control
PPTX
discrete time signals and systems
Neural Networks: Rosenblatt's Perceptron
MINOR PROJECT automated street light
Paper battery
Alcohol detector
NOISE CANCELATION USING MATLAB
IIR filter realization using direct form I & II
Embedded system for traffic light control
discrete time signals and systems

What's hot (20)

PPTX
Application of soft computing techniques in electrical engineering
PPTX
AUTOMATIC BELL FOR COLLEGE
PPTX
Artificial intelligence in power system
PDF
Non contact ac tester project report
PPTX
ECG Noise cancelling
PPTX
Windowing techniques of fir filter design
PPT
Filter- IIR - Digital signal processing(DSP)
PDF
IRJET - Smart Crop Protection System from Animals using PIC
PPTX
Artificial intelligence in power system
PPTX
Linear block coding
PPTX
Artificial intelligence in power plants
PDF
Smart energy meter ppt
PPTX
Linear block code
PPTX
IoT Based Home Automation System Presantation
PPTX
FIR and IIR system
PPTX
E- Notice Board Presentation
PPTX
Stability of Control System
PDF
Modern Control - Lec 01 - Introduction to Control System
PPTX
DC Motor Direction Control Using 8051 C Program
PPTX
Equalization
Application of soft computing techniques in electrical engineering
AUTOMATIC BELL FOR COLLEGE
Artificial intelligence in power system
Non contact ac tester project report
ECG Noise cancelling
Windowing techniques of fir filter design
Filter- IIR - Digital signal processing(DSP)
IRJET - Smart Crop Protection System from Animals using PIC
Artificial intelligence in power system
Linear block coding
Artificial intelligence in power plants
Smart energy meter ppt
Linear block code
IoT Based Home Automation System Presantation
FIR and IIR system
E- Notice Board Presentation
Stability of Control System
Modern Control - Lec 01 - Introduction to Control System
DC Motor Direction Control Using 8051 C Program
Equalization
Ad

Similar to Convolution using Scilab (20)

PDF
Ee343 signals and systems - lab 2 - loren schwappach
PDF
Linear Convolution using Matlab Code
PDF
Dsp lab manual
PDF
Convolution
PDF
Matlab programs
PDF
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
PDF
Digital signal Processing all matlab code with Lab report
PPT
Lecture4 Signal and Systems
PDF
DSP lab manual
DOC
Dsp manual
PDF
Dsp file
PDF
dsp.pdf
DOC
Dsp 1recordprophess-140720055832-phpapp01
DOC
Digital Signal Processing Lab Manual ECE students
PDF
DSP_Lab_MAnual_-_Final_Edition.pdf
DOCX
DSP_Lab_MAnual_-_Final_Edition[1].docx
DOCX
Basic simulation lab manual1
PPTX
Signal Processing Assignment Help
PDF
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
Ee343 signals and systems - lab 2 - loren schwappach
Linear Convolution using Matlab Code
Dsp lab manual
Convolution
Matlab programs
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
Digital signal Processing all matlab code with Lab report
Lecture4 Signal and Systems
DSP lab manual
Dsp manual
Dsp file
dsp.pdf
Dsp 1recordprophess-140720055832-phpapp01
Digital Signal Processing Lab Manual ECE students
DSP_Lab_MAnual_-_Final_Edition.pdf
DSP_Lab_MAnual_-_Final_Edition[1].docx
Basic simulation lab manual1
Signal Processing Assignment Help
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
Ad

Recently uploaded (20)

PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
composite construction of structures.pdf
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
DOCX
573137875-Attendance-Management-System-original
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Welding lecture in detail for understanding
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Construction Project Organization Group 2.pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPT
Project quality management in manufacturing
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Well-logging-methods_new................
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Digital Logic Computer Design lecture notes
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
Model Code of Practice - Construction Work - 21102022 .pdf
composite construction of structures.pdf
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
573137875-Attendance-Management-System-original
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Welding lecture in detail for understanding
Mechanical Engineering MATERIALS Selection
Construction Project Organization Group 2.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Project quality management in manufacturing
Foundation to blockchain - A guide to Blockchain Tech
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Well-logging-methods_new................
R24 SURVEYING LAB MANUAL for civil enggi
CH1 Production IntroductoryConcepts.pptx
Digital Logic Computer Design lecture notes
Embodied AI: Ushering in the Next Era of Intelligent Systems
Automation-in-Manufacturing-Chapter-Introduction.pdf

Convolution using Scilab

  • 1. Submitted By: 1DA19EC428- Rajath R Navalgi 1DA19EC433- Sachin Ramachandra Achari 1DA19EC434- Sachin Subrahmanya Shet 1DA19EC436- Vijay Kumar N 1DA19EC438- Vinay Kumar HS 1DA19EC439- Vinod Group Activity for: Digital Signal Processing (18EC52) BACHELOR OF ENGINEERING In ELECTRONIC AND COMMUNICATION ENGINEERING
  • 2. CONTENTS  Introduction to Scilab  Linear Convolution  Algorithm  Scilab Code:  Convolution using Direct formula  Convolution using inbuilt function
  • 3. INTRODUCTION TO SCILAB  Scilab is a free and open-source, cross-platform numerical computational package and a high-level, numerically oriented programming language. It can be used for signal processing, statistical analysis, image enhancement, fluid dynamics simulations, numerical optimization, and modeling, simulation of explicit and implicit dynamical systems and (if the corresponding toolbox is installed) symbolic manipulations.  Scilab is one of the two major open-source alternatives to MATLAB, the other one being GNU Octave.Scilab puts less emphasis on syntactic compatibility with MATLAB than Octave does, but it is similar enough that some authors suggest that it is easy to transfer skills between the two systems.
  • 4. LINEAR CONVOLUTION  Convolution is a mathematical operation used to express the relation between input and output of an LTI system.  It relates input, output and impulse response of an LTI system as  y(n)=x(n)∗h(n) Where y (n) = output of LTI x (n) = input of LTI h (n) = impulse response of LTI
  • 5. Discrete Convolution y(n)=x(n)∗h(n) = 𝑘−∞ ∞ 𝑥 𝑘 ℎ(𝑛 − 𝑘) By using convolution we can find zero state response of the system.
  • 6. ALGORITHM  Give input sequence x[n].  Give impulse response sequence h(n)  Find the convolution y[n] using the Formula method or using Scilab convol() function  Plot x[n],h[n],y[n]
  • 7. SCILAB CODE:  Using Direct formula method:
  • 8. EXAMPLE-1:  enter x seq[1,2,3,4]  enter h seq[1,1,1]   y= 1. 3. 6. 9. 7. 4.
  • 9. RESULT WAVEFORM FOR EXAMPLE-1:
  • 10. SCILAB CODE:  Using convol() function.  Syntax [y]=convol(h,x) [y,e1]=convol(h,x,e0)  Description Calculates the convolution y= h*x of two discrete sequences by using the fft. The convolution is defined as follows: Overlap add method can be used.
  • 12. EXAMPLE-2:  enter x sequence[1,2]  enter h sequence[1,2,5]  y= 1. 4. 9. 10.
  • 13. RESULT WAVEFORM FOR EXAMPLE-2: