Experiment No: 1
OUTPUT:
1. %unit impulse function%
2. %unit step function%
3. %unit ramp function%
4. %sinusoidal function%
5. %square function%
6. %sawtooth function%
7. %trianguler function%
8. %sinc function%
Experiment No: 2
OUTPUT:
1. %unit impulse sequence%
2. %unit step sequence%
3. %unit ramp sequence%
4. %sinusoidal sequence%
5. %square sequence%
6. %sawtooth sequence%
7. %triangular sequence%
8. %sinc sequence%
Experiment No: 3
OUTPUT:
1. % addition of signals
2. % Subtraction of signals
3. % multiplication of signals
Experiment No: 4
OUTPUT:
1. % scaling of a signal
2. % Right – Left shifting of signals
3. % Signal Folding
Experiment No: 5
OUTPUT:
1. % addition of sequences%
2. % subtraction of sequences%
3. % multiplication of sequences%
Experiment No: 6
OUTPUT:
1. % scaling of a sequence%
2. % Left and Right shifting of sequence%
3. % Folding or Time reversal of sequence%
Experiment No: 7
OUTPUT:
1. % Even and odd parts of a signal%
2. % Even and odd parts of a sequence%
3. % plotting even and odd parts of the sequence%
Experiment No: 8
OUTPUT:
1. %Linearity property of discrete system%
% Output of command window %
type the samples of x1 2
type the samples of x2 3
type the samples of h 5
length of the output signal will be
1
The scale factor a1 is 2+3j
The scale factor a2 is 3+5j
Input signal x1 is
2
Input signal x2 is
3
Output Sequence yo1 is
6.5000e+01 + 1.0500e+02i
Output Sequence yo2 is
6.5000e+01 + 1.0500e+02i
yo1 = yo2. Hence the LTI system is LINEAR
Experiment No: 9
OUTPUT:
1. %Convolution of two signals%
2. %Convolution of two exponential signals%
Experiment No: 10
OUTPUT:
1. %program for convolution of two sequences
%Output of command window%
enter input sequence [147852]
enter impulse response [369258]
The resultant signal is
5.4596e+10
2. %convolution of sequence x and h using Conv%
%Output of command window%
Enter the input sequence x[n] = [1 5 9 3 4 6]
Enter the starting time index of x[n] = 1
Enter the impulse response h[n] = [1 3 6 8 2 4]
Enter the starting time index of h[n] = 1
Experiment No: 11
OUTPUT:
1. %Fourier transform of cosine signal%
2. %Fourier transform of sine signal%
Experiment No: 12
OUTPUT:
1. %Verify Gibbs Phenomenon%
Experiment No: 13
OUTPUT:
1. % pole-zero plot in z-plane%
%Output of command window%
enter the numerator coefficients 5
enter the denominator coefficients 4
H=
1.25
Static gain.
zeros are at
poles are at
2. % pole-zero plot in s-plane%
%Output of command window%
H1 =
1.25
Static gain.
poles ar at
zeros ar at
Experiment No: 14
OUTPUT:
1. %Verify the sampling theorm%
Experiment No: 15
OUTPUT:
1. OEP
% harmonics of Non sinusoidal signal%
Signal and Systems_3150912