Professional Documents
Culture Documents
No: 01
GENERATION AND OPERATION ON SIGNALS
DATE: 28/1/23
AIM:
To write a program using MATLAB, SciLab, and Kit Program to generate the
following signals and perform the operations on signals.
1. Unit Impulse Waveform
2. Unit Step Waveform
3. Ramp Waveform
4. Parabolic Waveform
5. Sine and Cosine Waveform
6. Exponential Waveform
7. Operations of Signals
TOOLS REQUIRED:
MATLAB, SciLab Software, 6713 DSP Processor.
THEORY:
CONTINUOUS SIGNAL:
The signals defined for every instant of time are known as
continuous or continuous-time signals. The continuous signal is also referred to as an analog
signal. They are continuous in both time and amplitude. Most of the signals that are
encountered in real-time are continuous.
DISCRETE SIGNAL:
The signals that are defined at discrete instants of time are known as
discrete-time signals. A time series is a function over a domain of integers. A discrete signal
is continuous in amplitude but discrete in time. A discrete time signal is obtained by sampling
the continuous signal.
MATHEMATICAL EQUATIONS:
CONTINUOUS TIME SIGNAL
x t = δ t = 1 , for t = 0
Impulse = 0 , otherwise
sequence
x t = u t = 1 , for t 0
Step sequence = 0 , otherwise
x t = r t = t , for t 0
Ramp sequence = 0, otherwise
t 2
,t0
Parabolic Signal p(t)
2
0 ,t0
eat , a 0 exponenonentially increasing
Exponential Signal x(t) 1 a 0 constantant magnitude
, at
e , a 0 exponenonentially decaying
DISCRETE-TIME SIGNAL
x n = δ n = 1 , for n = 0
Impulse sequence = 0, otherwise
x n = u n = 1, for n > 0
Step sequence 0, otherwise
x n = r n = n, for n 0
Ramp sequence
= 0, otherwise
n2
Parabolic p(n) 2 , n 0
Signal
0 ,n0
an , a 1 exponenonentially increasing
n
Exponential Signal x(n) a , 0 a 1 exponenonentially decaying
n
a , a 0 signal with oppositesign
OPERATIONS ON SIGNALS
Time Shifting:
Continuous time signal : y(t) = x (t - T)
Discrete-time signal : y(n) = y (n - N)
Time Reversal:
Continuous time signal : y(t) = x(-t)
Discrete-time signal : y(n) = x(-n)
Time Scaling:
Continuous time signal : y(t) = x(At)
A > 1, signal is compressed,0 < A < 1, signal is
expanded Discrete-time signal: y(n) = x(Dn)
y(n) = x(Dn), D*n -Down sampling, D/n – Up sampling
Addition:
Continuous time signal : y(t) = x1(t) + x2(t)
Discrete time signal : y(n) = x1(n) + x2(n)
Multiplication:
Continuous time signal : y(t) = x1(t) * x2(t)
Discrete time signal : y(n) = x1(n) * x2(n)
Amplitude Scaling :
Continuous time signal : y(t) = A*x(t)
Discrete time signal : y(n) = A*x(n)
PROGRAM:
MATLAB PROGRAM
SCILAB PROGRAM
KIT PROGRAM
MATLAB OUTPUTS
EXPONENTIAL SIGNAL:
TIME SHIFTING, TIME SCALING, TIME REVERSAL & AMPLITUDE SCALING:
KIT OUTPUT
SINE WAVE:
COSINE WAVE:
RESULT:
Thus, various signals were generated and its various operations were performed in
MATLAB, SciLab, and Kit was executed successfully.