You are on page 1of 7

Lovely Professional University, Punjab

Course Code

Course Title

Course Planner

Lectures

CSE222

BASIC SIMULATION LABORATORY

12307::Kiran Kumar Kaki

Course Category

Practical Course

Tutorials Practicals Credits

0.0

0.0

2.0

TextBooks
Sr No

Title

Author

Edition

Year

Publisher Name

T-1

MATLAB PROGRAMMING

SINGH & CHAUDHURI

4th

2013

PHI (PRETICE HALL INDIA)

Reference Books
Sr No

Title

Author

Edition

Year

Publisher Name

R-1

GETTING STARTED WITH


MATLAB - A QUICK
INTRODUCTION FOR
SCIENTISTS & ENGINEERS

RUDRA PRATAP

5th

2010

OXFORD UNIVERSITY PRESS

R-2

MATLAB AN INTRODUCTION
WITH APPLICATIONS

AMOS GILAT

4th

2009

WILEY

R-3

MATLAB PROGRAMMING FOR


ENGINEERS

STEPHEN J. CHAPMAN 3rd

2008

THOMSON ASIA PT. LTD.

Other Reading
Sr No

Journals articles as Compulsary reading (specific articles, complete reference)

OR-1

http://www.math.utah.edu/~wright/misc/matlab/matlabintro.html ,

OR-2

http://www.math.mtu.edu/~msgocken/intro/intro.html ,

Software/Equipments/Databases
Sr No

(S/E/D) (only if relevant to the course)

Salient Features

SW-1

MATLAB

MATLAB is a high-level language and interactive environment for


numerical computation, visualization, and programming.

Sr No

(VL) (only if relevant to the course)

Salient Features

VL-1

http://www.mathworks.in/videos/introduction-to-matlab-81592.html

Matlab videos

Virtual Labs

Scheme for CA:

1.0

Component

Frequency

Practical evaluation

Out Of
3

Each Marks Total Marks


4

Total :-

10

30

10

30

Details of Academic Task(s)


AT No.

Objective

Topic of the Academic Task

Nature of Academic Task


(group/individuals/field
work

Evaluation Mode

Allottment /
submission Week

Practical
evaluation1

To test the
will be covering syllabus from Practical 1 to Practical 2.
understanding level
of the students for
topics covered as
mentioned in the
detial.

Individual

On the basis of
answer attempted
by student

2/3

Practical
evaluation2

To test the
will be covering syllabus from Practical 3 to Practical 5.
understanding level
of the students for
topics covered as
mentioned in the
detial.

Individual

On the basis of
answer attempted
by student

5/6

Practical
evaluation3

To test the
will be covering syllabus from Practical 6 to Practical 8.
understanding level
of the students for
topics covered as
mentioned in the
detial.

Individual

On the basis of
answer attempted
by student

8/9

Practical
evaluation4

To test the
will be covering syllabus from Practical 9 to Practical 11.
understanding level
of the students for
topics covered as
mentioned in the
detial.

Individual

On the basis of
answer attempted
by student

11 / 12

*Each experiment of the lab will be evaluated using following relative scheme:
Component

% of Marks

J/E

50

VIVA

50

Detailed Plan For Practicals


Practical No

Broad topic (Subtopic)

Practical Description

Learning Outcomes

Equipment Used

Practical 1

Handling of Arrays and Matrices


Introduction about the Matlab and all the
(Creating a One-Dimensional Array
components used in IDE.
(Row / Column Vector),Creating a
vector of even whole numbers, Creating
a Two-Dimensional Array (Matrix of
given size).)

Student will familiar with the basic


overview of Matlab.

Matlab tool

Practical 2

Handling of Arrays and Matrices


(Performing Arithmetic Operations Addition, Subtraction,Multiplication
and Exponentiation.)

Create an MxN matrix with first row of


even numbers and second row of odd
numbers of a specified range.

Student will learn the implementation


of basic operations on matrix

Matlab tool

Handling of Arrays and Matrices


(Obtaining Modified Matrix - Inverse,
Transpose,with Appended and Deleted
Elements.)

Practical 2:Create a
Student will learn the implementation
new modified matrix by using inverse,
of basic operations on matrix
transpose, with appended and deleted
elements. Also perform all arithmetic
operations on these two matrices,Create an
MxN matrix and Sort each row /column and
store the resultant in another matrix. Now,
Perform Shifting, reshaping, resizing of
rows/column upwards or downwards by
specific index. After that Flipping the
matrix in left-right or updown direction to
get new matrix.
Practical 3:Conduct PRACTICAL
EVALUATION 1.

Matlab tool

Handling of Arrays and Matrices


(Performing Matrix Manipulations Concatenating, Indexing, Sorting,
Shifting, Reshaping, Resizing and
Flipping about a Vertical Axis /
Horizontal Axis.)

Practical 2:Create a
Student will learn the implementation
new modified matrix by using inverse,
of basic operations on matrix
transpose, with appended and deleted
elements. Also perform all arithmetic
operations on these two matrices,Create an
MxN matrix and Sort each row /column and
store the resultant in another matrix. Now,
Perform Shifting, reshaping, resizing of
rows/column upwards or downwards by
specific index. After that Flipping the
matrix in left-right or updown direction to
get new matrix.
Practical 3:Conduct PRACTICAL
EVALUATION 1.

Matlab tool

Handling of Arrays and Matrices


(Performing Matrix Manipulations Concatenating, Indexing, Sorting,
Shifting, Reshaping, Resizing and
Flipping about a Vertical Axis /
Horizontal Axis.)

Practical 2:Create a
Student will learn the implementation
new modified matrix by using inverse,
of basic operations on matrix
transpose, with appended and deleted
elements. Also perform all arithmetic
operations on these two matrices,Create an
MxN matrix and Sort each row /column and
store the resultant in another matrix. Now,
Perform Shifting, reshaping, resizing of
rows/column upwards or downwards by
specific index. After that Flipping the
matrix in left-right or updown direction to
get new matrix.
Practical 3:Conduct PRACTICAL
EVALUATION 1.

Matlab tool

Practical 3

Practical 3

Handling of Arrays and Matrices


(Obtaining Modified Matrix - Inverse,
Transpose,with Appended and Deleted
Elements.)

Practical 2:Create a
Student will learn the implementation
new modified matrix by using inverse,
of basic operations on matrix
transpose, with appended and deleted
elements. Also perform all arithmetic
operations on these two matrices,Create an
MxN matrix and Sort each row /column and
store the resultant in another matrix. Now,
Perform Shifting, reshaping, resizing of
rows/column upwards or downwards by
specific index. After that Flipping the
matrix in left-right or updown direction to
get new matrix.
Practical 3:Conduct PRACTICAL
EVALUATION 1.

Matlab tool

Practical 4

M-File Function & its type(Generating


a set of Commands on a given Vector
like Add up the values of the
elements,Compute the Running Sum
(Check with sum), where Running Sum
for element j = the sum of the elements
from 1 to j,Compute the Sine of the
given X-values.)

Create a 1-D matrix with given values


and Add all rows/columns values of
matrix.Now compute the Running Sum
where Running Sum for element j = the
sum of the elements from 1 to j and plot
the Sine of all values.

Understanding of the commands based


on vector add up values.

Matlab tool

Practical 5

M-File Function & its type(Evaluate a


given expression and rounding it to the
nearest integer value using Round,
Floor, Ceil and Fix
function,Trigonometric Functions - sin
(t), cos(t), tan(t), sec(t), cosec(t) and cot
(t),Logarithmic and other Functions log
(A), log10(A) etc.)

Write a function that evaluate a given


expression and rounding it to the nearest
integer value using Round, Floor, Ceil
and Fix function,Trigonometric Functions
- sin(t), cos(t), tan(t), sec(t), cosec(t) and
cot(t),Logarithmic and other Functions
log(A), log10(A)

Understanding of various functions


implemented on integer values.

Matlab tool

Practical 6

Two Dimensional Plots(Create a vector


X with elements for a given function
and adding up 100 elements of the
vector X , Plotting the functions over
the interval with Rectangular Plot,Semi
log Plot, log-log Plot.)

Practical-6:Conduct PRACTICAL
EVALUATION 2, Practical-7:Create a
vector X with elements for a
given function and adding up 100
elements of the vector X , Plotting the
functions over the interval with
Rectangular Plot,Semi log Plot, log-log
Plot.

Student will learn the plotting of


various functions around axes

Matlab tool

Practical 7

Two Dimensional Plots(Create a vector


X with elements for a given function
and adding up 100 elements of the
vector X , Plotting the functions over
the interval with Rectangular Plot,Semi
log Plot, log-log Plot.)

Practical-6:Conduct PRACTICAL
EVALUATION 2, Practical-7:Create a
vector X with elements for a
given function and adding up 100
elements of the vector X , Plotting the
functions over the interval with
Rectangular Plot,Semi log Plot, log-log
Plot.

Student will learn the plotting of


various functions around axes

Matlab tool

Practical 8

Two Dimensional Plots(Generate a


Sinusoidal Signal of a given
frequency,Plotting with Graphical
Enhancements - Titling, Labelling,
Adding Text, Adding Legends, Adding
New Plots to Existing Plot, Printing
Text in Greek Letters, Plotting as
Multiple and Sub- Plots,Making NonChoppy and Smooth Plot of the
functions.)

Practical- 8 would be based on


Introduction about the Script file
generation in Matlab, implementation of
structure and interpolation schemes.AND
would be based on the plotting
of a Sinusoidal Signal with Graphical
Enhancements Titling, Labelling, Adding Text, Adding
Legends, Adding New Plots to Existing
Plot, Printing Text in Greek Letters,
Plotting as Multiple and SubPlots,Making Non-Choppy and Smooth
Plot of the functions.
Practical 9:Conduct PRACTICAL
EVALUATION 3.

Student will learn the Implementation


of signal in the form of graph with
various graphical enhancements.

Matlab tool

Practical 9

Two Dimensional Plots(Generate a


Sinusoidal Signal of a given
frequency,Plotting with Graphical
Enhancements - Titling, Labelling,
Adding Text, Adding Legends, Adding
New Plots to Existing Plot, Printing
Text in Greek Letters, Plotting as
Multiple and Sub- Plots,Making NonChoppy and Smooth Plot of the
functions.)

Practical- 8 would be based on


Introduction about the Script file
generation in Matlab, implementation of
structure and interpolation schemes.AND
would be based on the plotting
of a Sinusoidal Signal with Graphical
Enhancements Titling, Labelling, Adding Text, Adding
Legends, Adding New Plots to Existing
Plot, Printing Text in Greek Letters,
Plotting as Multiple and SubPlots,Making Non-Choppy and Smooth
Plot of the functions.
Practical 9:Conduct PRACTICAL
EVALUATION 3.

Student will learn the Implementation


of signal in the form of graph with
various graphical enhancements.

Matlab tool

Practical 10

Introduction to Structure(Creating A
Structure, An Array of Structures and
Writing Commands to Access Elements
of the created Structure and Array of
Structures.)

Create a structure,array of structures with


any specified field and add two or more
records, access the elements of the
created structure as well as for array of
structure.

Student will analyze how to access the


structure

Matlab tool

Introduction to Structure(Solve First


Order Ordinary Differential Equation
using Built-in Functions and Creating
an M x N Array of Random Numbers
using rand and setting any value that is
< 0.2 to 0 and any value that is < 0.2 to
0 by moving through the Array,
Element by Element.)

Solve the First Order Ordinary


Differential Equation using Built-in
Functions. Modify the values of array by
moving through element wise.

Student will analyze how to solve the


First Order Ordinary
Differential Equation

Matlab tool

Practical 11

M-File Scripts & GUI(Write a Script


(which keeps running until no number
is provided to convert) that asks for
Temperature in degrees Fahrenheit and
Computes the Equivalent Temperature
in degrees Celsius.)

Write the script that asks for


Student will learn how to create scripts.
Temperature in degrees Fahrenheit and
Computes the Equivalent Temperature in
degrees Celsius,Create a graphical user
interface that requests the inputs from user
and evaluate the given function using if-else
statement and test that script with some
values,Create a graphical user interface that
requests the inputs from user and evaluate
the given function using if-else statement
and test that script with some values.

Matlab tool

M-File Scripts & GUI(Write a brief


Script, starting each Script with a
request for input to evaluate the
function h(T) using if-else statement.)

Write the script that asks for


Student will learn how to create scripts.
Temperature in degrees Fahrenheit and
Computes the Equivalent Temperature in
degrees Celsius,Create a graphical user
interface that requests the inputs from user
and evaluate the given function using if-else
statement and test that script with some
values.

Matlab tool

M-File Scripts & GUI(Create a


Graphical User Interface (GUI) and
Curve Fitting using Straight line
Fit,Least Square.)

Write the script that asks for


Student will learn how to create scripts.
Temperature in degrees Fahrenheit and
Computes the Equivalent Temperature in
degrees Celsius,Create a graphical user
interface that requests the inputs from user
and evaluate the given function using if-else
statement and test that script with some
values,Create a graphical user interface that
requests the inputs from user and evaluate
the given function using if-else statement
and test that script with some values.

Matlab tool

M-File Scripts & GUI(Generate normal Write a script that will generate random
and integer random numbers (1-D & 2- numbers for 1-D and 2-D and plot the
D) and plotting them.)
graph.

Student will learn the plotting of


random number and scripts.

Matlab tool

Practical 12

Interpolation(Interpolation based on
following Schemes (A) Linear (B)
Cubic (C) Spline.)

Practical 12: Conduct PRACTICAL


EVALUATION 4.
Practical 13:Generate a vector containing
points that
must be monotonic then generate
corresponding output values. Now
perform 1-D interpolation using (A)
Linear (B) Cubic (C) Spline schemes.

Learning of various interpolation


schemes

Matlab tool

Practical 13

Interpolation(Interpolation based on
following Schemes (A) Linear (B)
Cubic (C) Spline.)

Practical 12: Conduct PRACTICAL


EVALUATION 4.
Practical 13:Generate a vector containing
points that
must be monotonic then generate
corresponding output values. Now
perform 1-D interpolation using (A)
Linear (B) Cubic (C) Spline schemes.

Learning of various interpolation


schemes

Matlab tool

Practical 14

Interpolation(Generating the Fibonacci Generate the Fibonacci series upto a


numbers according to the given relation specified range and compute the ratio F
and also Compute the ratio.)
(n)/F(n-1) for first 20 fibonacci numbers.

Generation of Fibonacci series

Matlab tool

Interpolation(Generating Equivalent
Square Wave from a Sine Wave of
given Amplitude and
Frequency.Obtaining the Covariance &
Correlation Coefficient Matrices for a
given Data Matrix.)

Generation of square wave

Matlab tool

Obtain Covariance,Correlation Coefficient


Matrices of a
square wave generated from amplitude
and frequency of sine wave.
Conduct TEST

SPILL OVER
Practical 15

Spill Over

You might also like