Cns Lab Course File
Cns Lab Course File
Hamidpur, Delhi-110036
(An ISO 9001: 2008 certified, AICTE approved & GGSIP University affiliated institute)
E-mail: hmritmdirector@gmail.com, Phone: - 8130643674, 8130643690, 8287461931,
8287453693
Course File
for
BACHELOR OF TECHNOLOGY
(CSE)
Second Year(Sem :- 4th )
Affiliated to
GURU GOBIND SINGH INDRAPRASTHA UNIVERSITY
Sector - 16C Dwarka, Delhi - 110078, India
HMR INSTITUTE OF TECHNOLOGY & MANAGEMENT
Hamidpur, Delhi-110036
(An ISO 9001: 2008 certified, AICTE approved & GGSIP University affiliated institute)
E-mail: hmritmdirector@gmail.com, Phone: - 8130643674, 8130643690, 8287461931,
8287453693
TABLE OF CONTENT
Impart quality education through flexible and innovative teaching learning process to meet
the needs of industries, business and society.
Enable and ignite young minds to excel in their career and life with entrepreneurial spirit,
professional ethics and human values.
As a unified community of faculty, staff and students, we work together with the spirit of
collaboration and partnership to accomplish our vision.
Establish industry and academia collaborations to fill academic-industry gap.
Train to exhibit effective technical, communication and project management skills in their
profession by following ethical practices.
Excel in Professional career by acquiring knowledge in information technology and
engineering principles.
Subject
Semes
Sr. No. with Course Outcome Description
ter Code
Month &Year : Feb 2023 Class : CSE-4B
Faculty : Mr.Yatish Rai
Bloom’s Taxonomy
Circuit Course Outcome Level
and Introduction to MATLAB and plotting
system C254.1 Level 2
1 different signal using this
4th lab Design to plot linear convolution of two
EEC C254.2 Level 3
sequence
254 Study of transient response of RLC
C253.3 Level 2
circuit with different waveform
Designing of Different connection and
C254.4 Level 3
calculating all parameters
List of Experiments:
10. To design Cascade Connection and determine ABCD parameters if the given two port network.
11. To design Series-Series Connection and determine Z parameters if the given two port network.
12. To design Parallel-Parallel Connection and determine Y parameters if the given two port network
13. To design Series-Parallel Connection and determine h parameters if the given two port network
NOTE: At least 5 Experiments out of the given list must be done in the semester.
HMR INSTITUTE OF TECHNOLOGY & MANAGEMENT
Hamidpur, Delhi-110036
(An ISO 9001: 2008 certified, AICTE approved & GGSIP University affiliated institute)
E-mail: hmritmdirector@gmail.com, Phone: - 8130643674, 8130643690, 8287461931,
8287453693
4. Plot the waveform for performing Z-transform over a given set of values.
5. Determine the inverse Z-transform of given sequence.
HMR INSTITUTE OF TECHNOLOGY & MANAGEMENT
Hamidpur, Delhi-110036
(An ISO 9001: 2008 certified, AICTE approved & GGSIP University affiliated institute)
E-mail: hmritmdirector@gmail.com, Phone: - 8130643674, 8130643690, 8287461931,
8287453693
4. b) Academic Calendars
HMR INSTITUTE OF TECHNOLOGY & MANAGEMENT
Hamidpur, Delhi-110036
(An ISO 9001: 2008 certified, AICTE approved & GGSIP University affiliated institute)
E-mail: hmritmdirector@gmail.com, Phone: - 8130643674, 8130643690, 8287461931,
8287453693
HMR INSTITUTE OF TECHNOLOGY & MANAGEMENT
Hamidpur, Delhi-110036
(An ISO 9001: 2008 certified, AICTE approved & GGSIP University affiliated institute)
E-mail: hmritmdirector@gmail.com, Phone: - 8130643674, 8130643690, 8287461931,
8287453693
HMR INSTITUTE OF TECHNOLOGY & MANAGEMENT
Hamidpur, Delhi-110036
(An ISO 9001: 2008 certified, AICTE approved & GGSIP University affiliated institute)
E-mail: hmritmdirector@gmail.com, Phone: - 8130643674, 8130643690, 8287461931,
8287453693
Individual Timetable
HMR INSTITUTE OF TECHNOLOGY & MANAGEMENT
Hamidpur, Delhi-110036
(An ISO 9001: 2008 certified, AICTE approved & GGSIP University affiliated institute)
E-mail: hmritmdirector@gmail.com, Phone: - 8130643674, 8130643690, 8287461931,
8287453693
LAB PLAN
Prerequisites-1: Write down the details for software requirement to conduct Circuit and
system Laboratory Experiments.
Prerequisites-2: Detail out the SCI LAB installation Procedures.
Prerequisites-3: How to download and install SCI LAB?
Prerequisites-4: Describe basic of SCI LAB.
Experiment Date of
Experiment Tools
No. Experim
ent
Introduction to MATLAB and Sci Lab and their SCI LAB G1:20.03.23
AIM-1 basic G2:22.03.23
commands.
Plot unit step, unit impulse, unit ramp, exponential, SCI LAB G1:03.04.23
AIM-2
parabolic functions and sinusoidal signals. G2:29.03.23
AIM-4 Plot the waveform for performing Z-transform over SCI LAB G1:24.04.23
a given set of values. G2:12.04.23
AIM-6
AIM-7
AIM-8
HMR INSTITUTE OF TECHNOLOGY & MANAGEMENT
Hamidpur, Delhi-110036
(An ISO 9001: 2008 certified, AICTE approved & GGSIP University affiliated institute)
E-mail: hmritmdirector@gmail.com, Phone: - 8130643674, 8130643690, 8287461931,
8287453693
HMR INSTITUTE OF TECHNOLOGY & MANAGEMENT
Hamidpur, Delhi-110036
(An ISO 9001: 2008 certified, AICTE approved & GGSIP University affiliated institute)
E-mail: hmritmdirector@gmail.com, Phone: - 8130643674, 8130643690, 8287461931,
8287453693
LAB MANUAL
Experiment :- 1
Aim: Introduction to MATLAB and its basic commands
Theory:
What is MATLAB?
It stands for Matrix Laboratory.
It is a high Performance Language that is used for technical Computing
Useful for anything that requires matrix and vector manipulations such as
a) Mathematical, Scientific, Engineering, statistical and financial problems.
b) Plotting/visualizing and analyzing data.
Comes with a basic set of tools for visualizing data and for performing calculations on matrices and vectors
For specific technologies, MATLAB provides tool boxes which add to the basic MATLAB functionality
we have the Image Processing Toolbox.
A(:,n) : extract all the elements of every row in column n of the matrix.
A(m, :) : extract all the elements of every column in row m of the matrix.
A(: , m:n) : extract all the elements of all rows in column m & n of the matrix.
A(p:q , m:n) : extract the elements of rows between p and q and columns between m and n of the matrix.
A(m,n) : Extract the elements of row m and column n.
HMR INSTITUTE OF TECHNOLOGY & MANAGEMENT
Hamidpur, Delhi-110036
(An ISO 9001: 2008 certified, AICTE approved & GGSIP University affiliated institute)
E-mail: hmritmdirector@gmail.com, Phone: - 8130643674, 8130643690, 8287461931,
8287453693
HMR INSTITUTE OF TECHNOLOGY & MANAGEMENT
Hamidpur, Delhi-110036
(An ISO 9001: 2008 certified, AICTE approved & GGSIP University affiliated institute)
E-mail: hmritmdirector@gmail.com, Phone: - 8130643674, 8130643690, 8287461931,
8287453693
Experiment :- 2
Aim: To print unit continuous, unit step discrete, impulse continuous, impulse discrete, ramp continuous, sine
continuous, sine discrete, exponential continuous, exponential discrete, random continuous and random
discrete functions.
Program:-
Unit step continuous and discrete
T=0:5;
N=ones(1,6);
Subplot(T,N);
Xlabel(“time”);
Ylabel(“amplitude”);
Title(“Unit-step”);
Subplot(3,4,2);
Plot2d3(T,N);
Xlabel(“time”);
Ylabel(amplitude”);
Title(“unit-step-discrete”);
Impulse Continuous and Discrete
T1=2:1:2;
X1=[0 0 1 0 0];
Subplot(3,4,3);
Plot(T1,X1);
Xlabel(“time”);
Ylabel(“amplitude”);
Title(“Impulse-continuous”);
Subplot(3,4,4);
Plot2d3(T1,X1);
Xlabel(“time”);
Ylabel(amplitude”);
Title(“Impulse-discrete”);
Ramp Continuous and Discrete
T2=0.5;
M=T2;
Subplot(3,4,5);
Plot(T2,M);
Xlabel(“time”);
Ylabel(“amplitude”);
Title(“ramp-continuous”);
Subplot(3,4,6);
Plot2d3(T2,M);
Xlabel(“time”);
Ylabel(amplitude”);
Title(“ramp-discrete”);
Sine Continuous and Discrete
T3=0:0.1:7;
Pi=3.14;
X3=sin(2*pi*T3
HMR INSTITUTE OF TECHNOLOGY & MANAGEMENT
Hamidpur, Delhi-110036
(An ISO 9001: 2008 certified, AICTE approved & GGSIP University affiliated institute)
E-mail: hmritmdirector@gmail.com, Phone: - 8130643674, 8130643690, 8287461931,
8287453693
Subplot(3,4,7);
Plot(T3,X3);
Xlabel(“time”);
Ylabel(“amplitude”);
Title(“Sine-continuous”);
Subplot(3,4,8);
Plot2d3(T3,X3);
Xlabel(“time”);
Ylabel(amplitude”);
Title(“Sine-discrete”);
Exponential Continuous and Discrete
Y=T;
X4=exp(Y);
Subplot(3,4,9);
Plot(Y,X4);
Xlabel(“time”);
Ylabel(“amplitude”);
Title(“exp-continuous”);
Subplot(3,4,10);
Plot2d3(Y,X4);
Xlabel(“time”);
Ylabel(amplitude”);
Title(“exp-discrete”);
Random continuous and Discrete
T4=0:1:9;
X5=rand(1,10);
Subplot(3,4,11);
Plot(y,x5);
Xlabel(“time”);
Ylabel(“amplitude”);
Title(“random-continuous”);
Subplot(3,4,12);
Plot2d3(T4,X5);
Xlabel(“time”);
Ylabel(amplitude”);
Title(“random-discrete”);
Result : The Various continuous and discrete time signals have been successfully plotted and printed using
SciLab.
HMR INSTITUTE OF TECHNOLOGY & MANAGEMENT
Hamidpur, Delhi-110036
(An ISO 9001: 2008 certified, AICTE approved & GGSIP University affiliated institute)
E-mail: hmritmdirector@gmail.com, Phone: - 8130643674, 8130643690, 8287461931,
8287453693
Experiment :- 3
Aim: To print discrete Signal, Impulse response and convolution signal.
Program:
X=input(“Enter input signal :”);
H=input(“Enter Impulse signal :”);
X1=length(X);
X2=length(H);
Y=Conv(X1,H);
X=1:1;
H=1:1;
X3=X1+X2;
Subplot(2,2,1);
Plot2d3(X);
Xlabel(“time”);
Ylabel(“Amplitude”);
Title(“Discrete Signals”);
Subplot(2,2,2);
Plot2d3(H);
Xlabel(“Time”);
Ylabel(“Amplitude”);
Title(“Impulse response”);
Subplot(2,2,3);
Plot2d3(Y);
Xlabel(“time”);
Ylabel(“amplitude”);
Title(“Convolution Signal”);
HMR INSTITUTE OF TECHNOLOGY & MANAGEMENT
Hamidpur, Delhi-110036
(An ISO 9001: 2008 certified, AICTE approved & GGSIP University affiliated institute)
E-mail: hmritmdirector@gmail.com, Phone: - 8130643674, 8130643690, 8287461931,
8287453693
Experiment :- 4
Aim: To plot the waveform for performing z-transform over a given set of values.
Program
Clear;
Clc;
Close;
Function[za]=ztranfer(sequence,n)
Z=poly(0,’z’,’r’);
Za=sequence*(1/z)^n
Endfunction;
X1=[1 0 3 -1 2];
N=0;
Length(x1-1);
Zz=ztransfer(x1,n);
Disp(zz,’z-transfoem of sequence is : ‘);
Disp(“ROC is the entire z-plane except
z=0”);
Result: The z-transform over a given set of values have been successfully performed.
HMR INSTITUTE OF TECHNOLOGY & MANAGEMENT
Hamidpur, Delhi-110036
(An ISO 9001: 2008 certified, AICTE approved & GGSIP University affiliated institute)
E-mail: hmritmdirector@gmail.com, Phone: - 8130643674, 8130643690, 8287461931,
8287453693
EVALUATION CRITERIA
2 1 1
HMR INSTITUTE OF TECHNOLOGY & MANAGEMENT
Hamidpur, Delhi-110036
(An ISO 9001: 2008 certified, AICTE approved & GGSIP University affiliated institute)
E-mail: hmritmdirector@gmail.com, Phone: - 8130643674, 8130643690, 8287461931,
8287453693
ATTAINMENT
A.ATTAINMENT END TERM
1. SUBJECT ATTAINMENT OF PREVIOUS BATCH
2. SUBJECT ATTAINMENT OF CURRENT BATCH
3. ATTAINMENT LEVEL MUST BE INCREASED FROM
PREVIOUS TO CURRENT ATTAINMENT
4. THE NEW ATTAINMENT CAN BE ATTACHED
AFTER RESULT
HMR INSTITUTE OF TECHNOLOGY & MANAGEMENT
Hamidpur, Delhi-110036
(An ISO 9001: 2008 certified, AICTE approved & GGSIP University affiliated institute)
E-mail: hmritmdirector@gmail.com, Phone: - 8130643674, 8130643690, 8287461931,
8287453693
Avg.
HMR INSTITUTE OF TECHNOLOGY & MANAGEMENT
Hamidpur, Delhi-110036
(An ISO 9001: 2008 certified, AICTE approved & GGSIP University affiliated institute)
E-mail: hmritmdirector@gmail.com, Phone: - 8130643674, 8130643690, 8287461931,
8287453693
Avg.