DSP Lab File - Experiments - 1 & 2
DSP Lab File - Experiments - 1 & 2
Submitted To :- Submitted By :-
Dr. Manjeet Kumar Ojas Kumar
2K22/EC/163
Section – 6C
Sem - VI
INDEX
S. No. Topic Date Signature
Experiment – 1
Aim
To plot basic signals like impulse, unit, ramp, sine, exponential,
addition, etc. using MATLAB.
Apparatus :- MATLAB
Theory
Signals are mathematical functions that convey information. They can
be continuous-time or discrete-time signals. Here, we discuss
fundamental signals such as the unit impulse, unit step, ramp, sine,
exponential, and operations like addition.
Unit Impulse Signal
The impulse signal, also known as the Dirac delta function, is a
fundamental signal in signal processing and system analysis. It plays a
crucial role in analyzing linear systems and serves as a mathematical
tool in differential equations, Fourier transforms, and Laplace
transforms.
Unit Step Signal
The unit step signal, also called the Heaviside function, is one of the
fundamental signals used in signal processing and system analysis. It
is widely used to describe signals that switch on at a certain time.
Sine Signal
The sine signal is one of the most fundamental signals in signal
processing, physics, and engineering. It is a periodic signal that
oscillates between positive and negative values in a smooth, wave-
like pattern. The sine function is widely used in applications such as
communication systems, audio processing, and control systems.
Exponential Signal
The exponential signal is a fundamental mathematical function used
in signal processing, system analysis, and engineering. It represents
signals that grow or decay exponentially over time and is commonly
used in analyzing dynamical systems, control systems, and electrical
circuits.
Addition Function
The addition of signals is a fundamental operation in signal
processing, system analysis, and mathematics. It is used to combine
multiple signals to form a new signal, which is crucial in applications
like audio processing, control systems, and communications.
Code
Results
Conclusions
The basic signals used in different communication systems like
impulse, step, ramp, sine, exponential & basic operations like
addition have thus been plotted using MATLAB.
Experiment – 2
Aim
To plot the DFT & IDFT of a given sequence x(n) and also calculate its
magnitude and phase response using MATLAB.
Apparatus :- MATLAB
Theory
The Discrete Fourier Transform (DFT) and its inverse, the Inverse
Discrete Fourier Transform (IDFT), are fundamental concepts in digital
signal processing. They are used to analyze frequency components of
discrete-time signals and reconstruct signals from their frequency
representations.
Discrete Fourier Transform (DFT)
The Discrete Fourier Transform (DFT) is a fundamental mathematical
tool used in digital signal processing to analyze the frequency content
of discrete-time signals. It converts a finite-length sequence from the
time domain into its frequency domain representation.
Example of DFT :-
Phase Response :-
Code
Results
Conclusions
The DFT & IDFT of a given sequence x(n) & its magnitude & phase
response have thus been calculated, displayed & plotted using
MATLAB.