Course Hand Out S3
Course Hand Out S3
SYLLABUS:
Sl.NO DETAILS HOURS
1 Familarization of the Computing Tool 3
2 Familarization of Scientific Computing 3
3 Realization of Arrays and Matrices 3
4 Numerical Differentiation and Integration 3
5 Solution of Ordinary Differential Equations 3
6 Simple Data Visualization 3
7 Simple Data Analysis with Spreadsheets 3
8 Convergence of Fourier Series 3
9 Coin Toss and the Level Crossing Problem 3
TOTAL HOURS 27
TEXT/REFERENCE BOOKS:
1 DIGITAL SIGNAL PROCESSING USING MATLAB by Vinay K. Lngle, John G. Proakis.
2 Digital Signal Processing Laboratory Using MATLAB by Sanjit K Mitra.
COURSE PRE-REQUISITES:
C.CODE COURSE NAME DESCRIPTION SEM
MAT 101 Linear Algebra and Calculus Theory 1
MAT 102 Vector Calculus, Differential Equations and Theory 2
Transforms
COURSE OBJECTIVES:
1 To translate the mathematical concepts into system design.
2 To familiarize with computing tools such as Matlab and Python
3 The experiments will lay the foundation for future labs such as DSPlab.
COURSE OUTCOMES:
CO – PO MAPPING
PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2 PSO3
CO1 3 3 3 2 3 0 0 0 3 1 0 3 1 0 3
CO2 3 3 1 2 3 0 0 0 3 0 0 1 0 0 1
CO3 3 3 1 1 3 0 0 0 0 0 0 1 1 0 1
CO4 3 3 1 1 3 0 0 0 0 0 0 1 0 0 1
CO5 3 3 1 3 0 0 0 0 3 3 0 0 1 0 2
CO6 3 3 2 2 3 0 0 0 3 1 0 0 0 0 1
CO7 3 3 2 2 3 0 0 0 3 1 0 1 0 0 1
DELIVERY/INSTRUCTIONAL METHODOLOGIES:
☐ CHALK & TALK ☐ STUD. ASSIGNMENT ☐ WEB ☐ LCD/SMART
RESOURCES BOARDS
☐ STUD. SEMINARS ☐ ADD-ON COURSES
ASSESSMENT METHODOLOGIES-DIRECT
☐ ASSIGNMENTS ☐ STUD. SEMINARS ☐ TESTS/MODEL ☐ UNIV.
EXAMS EXAMINATION
☐ STUD. LAB ☐ STUD. VIVA ☐ MINI/MAJOR ☐ CERTIFICATIONS
PRACTICES PROJECTS
☐ ADD-ON ☐ OTHERS
COURSES
ASSESSMENT METHODOLOGIES-INDIRECT
☐ ASSESSMENT OF COURSE OUTCOMES (BY ☐ STUDENT FEEDBACK ON FACULTY
FEEDBACK, ONCE) (TWICE)
☐ ASSESSMENT OF MINI/MAJOR PROJECTS ☐ OTHERS
BY EXT. EXPERTS
Prepared by Approved by
Dr. Poornima S Dr. Hari C.V.
(Faculty) (HOD)
COURSE PLAN
a. Realize the functions sin t, cos t, sinht and cosht for the vector t = [0, 10] with
increment 0:01
b. Realize the function f(t) = 4t3 + 3 and plot it for the vector t = [-5; 5] with
increment 0:01
c. Write and execute a function to return the value of
-
∫(- 𝑒 (|*| 𝑑𝑡
5. Solution of Ordinary Differential Equations
a. Solve the first order differential equation
𝑑𝑥
+ 2𝑥 = 0
𝑑𝑡
with the initial condition x(0) = 1
b. Write and execute a function to return the numerical solution of
𝑑3 𝑥 𝑑𝑥
3
+ 4 + 2𝑥 = 𝑒 (* cos 𝑡
𝑑𝑡 𝑑𝑡
6. Simple Data Visualization
a. Draw stem plots, line plots, box plots, bar plots and scatter plots with random
data.
b. Plot the histogram of a random data.
c. Realize a vector t = [-10; 10] with increment 0:01 as an array.
d. Write and execute a program to display random data in two dimensions
as continuous and discrete plots.
7. Simple Data Analysis with Spreadsheets
a. Compute the mean and standard deviation of the signal. Plot its histogram
with an appropriate bin size.
8. Convergence of Fourier Series
a. The experiment aims to understand the lack of convergence of Fourier series.
b. Write the Fourier series of a traingular signal. Compute this sum for 10 and
50 terms respectively. Plot both signals on the same GUI.
9. Coin Toss and the Level Crossing Problem
a. Simulate a coin toss that maps a head as 1 and tail as 0.
b. Write and execute a function to toss three fair coins simultaneously. Compute
the probability of getting exactly two heads for 100 and 1000 number of
tosses
LAB QUESTIONS
4. Write a MATLAB program to print the first N even numbers and its sum.
5. Write a MATLAB program to print the first N odd numbers and its sum
6. Realize the functions sin t, cos t, sinht and cosht for the vector t = [0, 10] with
increment 0.01
7. Realize the function f(t) = 4t3 + 3 and plot it for the vector t = [-5; 5] with
increment 0.01
8. Write a MATLAB program to compute the value of the function 𝑓 (𝑥 ) =
A ?@
< (
∫ 𝑒 @ 𝑑𝑥
√3> B
1. Write a function to print the first N Fibonacci numbers and its sum.
2. Write a function to print the first N even numbers and its sum
3. Write a function to print the first N odd numbers and its sum.
4. Write a function to compute the factorial of an integer.
5. Write a program to compute the sum of the digits of an integer.