Sunteți pe pagina 1din 23

EX.

NO:

LINEAR CONVOLUTION OF TWO SEQUENCES

DATE:

AIM:
To perform linear convolution of two sequence in MATLAB.

ALGORITHM:

Get the values from input and impulse sequence.

Perform linear convolution of sequence.

Plot the input sequence.

Plot the impulse and output sequence.

PROGRAM:
x=input('Enter the sequence');
h=input('Enter the sequence');
y=conv(x, h);
subplot(1,3,1);
stem(x);
title('input sequence x');
subplot(1,3,2);
stem(h);
title('input sequence h');
subplot(1,3,3);
stem(y);
title('linear convolution');
disp(x);
disp(h);
disp(y);

GRAPH

RESULT:
Thus the linear convolutions of two sequences were formed.

EX.NO:

DESIGN OF FIR FILTER FOR LOW PASS AND

DATE:

HIGH PASS FILTER

AIM:
To design FIR filter to low pass and high pass filter using butter worth
filter.

ALGORITHM:
Get the pass band and stop band replies.

Get the value for edge frequencies.

Calculate the order of filter.

Calculate the sampling frequencies.

Calculate the normalized frequencies of FIR filter.

Evaluate the coefficient of filter.

Find the transfer function.

Plot the graph.

RESULT:

Thus, the FIR filter for low pass and high pass filter was desired in
MATLAB.
EX.NO:

DESIGN OF FIR FILTER FOR BAND PASS AND

DATE:

BAND STOP PASS FILTER

AIM:
To design FIR filter to band pass and band stop pass filter using che by
shev method.

ALGORITHM:
Get the pass band and stop band ripple.

Get the value for edge frequencies.

Calculate the order of filter.

Calculate the sampling frequencies.

Calculate the normalized frequencies of FIR filter.

Evaluate the coefficient of filter.

Find the transfer function.

Plot the graph.

GRAPH :

FIR BSF

FIR BPF

RESULT:
Thus, the FIR filter for band pass and band stop pass filter was designed in
MATLAB.
EX.NO:

DESIGN OF IIR FILTER FOR LOW PASS AND

DATE:

HIGH PASS FILTER

AIM:
To write a program of design of IIR filter using MATLAB.
APPARATUS REQUIRED:
Personal computer.
MATLAB 7.0 software.
ALGORITHM:
Start the program.

Assume the value of specification are alp,als,sigp&sigs.

Using in built function of buttered and butter for low pass filter.

Using high function for high pass filter.

Change the sigp&sigs value for band pass filter.

Using stop function for band reject filter.

Stop the program.


.

RESULT:
Thus the program of IIR filter was designed verified and executed
successfully.

EX.NO:

DESIGN OF IIR FILTER FOR BAND PASS AND

DATE:

BAND STOP PASS FILTER

AIM:
To design chebyshev band pass and band stop pass filter in MATLAB.

ALGORITHUM:
Let the value for pass band and stop band frequencies.

Get the value for pass band and band stop ripple.

Get the order of the filter.

Calculate the sampling frequency.

Plot the response.

RESULT:
Thus the IIR filter for band passes and stop band filter was designed using
MATLAB.
EX.NO:

DESIGN OF FFT SEQUENCE

DATE:

AIM:
To find the FFT the given sequence using MATLAB.

ALGORITHM:

Get the sequence and length of sequence.

Perform the FFT function.

Find absolute value and phase of FFT sequence X(K).

Plot the input sequence and magnitude and phase.

RESULT:
Thus the FFFT of the given sequence generated using MATLAB.

EX.NO:

AMPLITUDE MODULATION

DATE:

AIM:
To construct and test amplitude modulation and
demodulation using trainer kit 005-006.
APPARATUS REQUIRED:

Cathode ray oscilloscope.


Patch cards.
Power supply.
Am receiver kit [transmitter & receiver].

PROCEDURE:
Setting on ST2202.
Set the detector in diode mode AGC on set the volume
control fully clock win.
Apply AM signal of 100mv with 400HZ modulating signal and
80% modulation into receiver input.
Select a suitable carrier frequency that lies with AM band
[525KHZ+600KHZ].take the ST2202 receiver to that
frequency using tuning control. Also adjust gain
potentiometer provided n RF amplifier selection.
Now vary the modulating slg frequency over audio [300HZ3KHZ] in suitable steps say 100HZ note the corresponding
output level.
Plot the graph between amplitude VS time.

RESULT:
Thus the modulating and demodulations of amplitude is
performer and modulated and demodulated output waveforms
were plotted
EX.NO:

FREQUENCY

MODULATION

DATE:

AIM:
To construct and test frequency modulation and
demodulation using trainer kit DCL007.

APPARATUS REQUIRED:
Patch cards.
Power supply.
CRO.
Frequency modulation trainer kit.

PROCEDURE:
Setting on ST2202.
Set the detector in diode mode AGC on
set the volume control fully clock win.
Apply AM signal of 100mv with 400HZ modulating signal
and 30% modulation into receiver input.
Select a suitable carrier frequency that lies with FM band
[525KHZ+600KHZ].
Plot the graph between modulating frequency and relative
response.
.

RESULT:
Thus the modulation and demodulation of frequency was
performed and the output waveforms were obtained.
EX.NO:

PULSE AMPLITUDE MODULATION

DATE:

AIM:
To construct and test frequency modulation and
demodulation using trainer kit DCL007.

APPARATUS REQUIRED:
Patch cards.
Power supply.
CRO.
Pulse amplitude modulations trainer kit.
PROCEDURE:
Connect signal source 1KHZ (A1 to A) with help of the patch
card.
Select the sampling frequency 8KHZ.
Select the flat top sampling by pulse by pushing the switch
to extreme rights.
Adjust pulse width potentiometer to extreme anti clock wise
connect the oscillation with input analog signal A and width
the PAM modulated output.
Connect the oscilloscope with signal B and sampling pulse
generator output E.
Vary the pulse width of PAM pulse and observe the
reconstruction output F.

RESULT:

Thus the pulse amplitude modulation and demodulation is


performed modulated and demodulated wave forms are plotted.

S-ar putea să vă placă și