Академический Документы
Профессиональный Документы
Культура Документы
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.
RESULT:
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].
RESULT:
Thus the modulation and demodulation of frequency was
performed and the output waveforms were obtained.
EX.NO:
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.
RESULT:
Thus the pulse amplitude modulation and demodulation is
performed modulated and demodulated wave forms are plotted.
EX.NO:
DATE:
AIM:
To perform linear convolution of two sequence in MATLAB.
ALGORITHM:
RESULT:
Thus the linear convolutions of two sequences were formed
EX.NO:
DATE:
AIM:
To construct and test the binary frequency shift keying (BFSK) circuit
using 555 timer.
APPARATUS REQUIRED:
1.
2.
3.
4.
5.
PROCEDURE:
RESULT:
Thus the BFSK signal is generated & the O/P waveform in delected.
SIMULATION PACKAGE
Aim:
To generate the following signals using mat lab program
1.
2.
3.
4.
5.
Apparatus Required:
1. Personal computer
2. Mat lab version
Algorithm:
Start the program
Assume the value for t and y for corresponding signal
Using expression plot the graph
Stop the execution
Result:
Thus the generation of standard input using simulation package output waveform is
obtained.
EX.NO:
DATE:
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.
xlabel('normalised frequency');
ylabel('Magnitude');
Programe:
% design of FIR HPF
clc;
clear all;
wc=0.5*pi;
N=25;
alp=(N-1)/2;
eps=0.001;
n=0:1:N-1;
hd=(sin(pi*(n-alp+eps))-sin(wc*(n-alp+eps)))./(pi*(n-alp+eps));
wr=boxcar(N);
hn=hd.*wr';
w=0:0.01:pi;
h=freqz(hn,1,w);
plot(w/pi,abs(h));
hold on;
wh=hamming(N);
hn=hd.*wh';
w=0:0.01:pi;
h=freqz(hn,1,w);
plot(w/pi,abs(h),'.');
xlabel('normalised frequency');
ylabel('Magnitude');
Output:
RESULT:
Thus, the FIR filter for low pass and high pass filter was desired in
MATLAB.
EX.NO:
DATE:
AIM:
To write a program of design of IIR filter using MATLAB.
APPARATUS REQUIRED:
Personal computer.
MATLAB 7.0 software.
ALGORITHM:
Start the program.
Using in built function of buttered and butter for low pass filter.
Programe:
% designing of IIR LPF
clc;
clear all;
alp=0.4;
als=30;
omp=0.2;
oms=0.8;
[n,ws]=buttord(omp,oms,alp,als);
[b,a]=butter(n,ws);
w=0:0.01:pi;
[h,om]=freqz(b,a,w);
m=abs(h);an=angle(h);
subplot(211)
plot(om,m);
xlabel('normalised frequency');
ylabel('gain in dB');
subplot(212)
plot(om,an);
xlabel('normalised frequency');
ylabel('phase in radians');
Programe:
% designing of IIR HPF
clc;
clear all;
alp=0.4;
als=30;
oms=0.2;
omp=0.8;
[n,ws]=buttord(omp,oms,alp,als);
[b,a]=butter(n,ws);
w=0:0.01:pi;
[h,om]=freqz(b,a,w);
m=abs(h);an=angle(h);
subplot(211)
plot(om,m);
xlabel('normalised frequency');
ylabel('gain in dB');
subplot(212)
plot(om,an);
xlabel('normalised frequency');
ylabel('phase in radians');
suptitle('IIR HPF');
Output:
RESULT:
Thus the program of IIR filter was designed verified and executed
successfully.
EX.NO:
DATE:
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.
Programe:
% designing of IIR BPF
clc;
clear all;
alp=0.4;
als=30;
oms=[0.1,0.5];
omp=[0.2,0.4];
[n,ws]=cheb1ord(omp,oms,alp,als);
[b,a]=cheby1(n,alp,ws);
w=0:0.01:pi;
[h,om]=freqz(b,a,w);
m=abs(h);an=angle(h);
subplot(211)
plot(om,m);
xlabel('normalised frequency');
ylabel('gain in dB');
subplot(212)
plot(om,an);
xlabel('normalised frequency');
ylabel('phase in radians');
suptitle('IIR BPF');
Programe:
ylabel('phase in radians');
suptitle('IIR BSF');
Output:
RESULT:
Thus the IIR filter for band passes and stop band filter was designed using
MATLAB.
EX.NO:
DATE:
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.
h=freqz(hn,1,w);
plot(w/pi,abs(h),'.');
xlabel('normalised frequency');
ylabel('Magnitude');
PROGRAM
% design of FIR BRF
clc;
clear all;
wc1=0.25*pi;
wc2=0.75*pi;
N=25;
alp=(N-1)/2;
eps=0.001;
n=0:1:N-1;
hd =(sin(wc1*(n-alp+eps))-sin(wc2*(n-alp+eps))+sin(pi*(n-alp+eps)))./(pi*(n-alp+eps));
wr=boxcar(N);
hn=hd.*wr';
w=0:0.01:pi;
h=freqz(hn,1,w);
plot(w/pi,abs(h));
hold on;
wh=hamming(N);
hn=hd.*wh';
w=0:0.01:pi;
h=freqz(hn,1,w);
plot(w/pi,abs(h),'.');
xlabel('normalised frequency');
ylabel('Magnitude');
Output:
RESULT:
Thus, the FIR filter for band pass and band stop pass filter was designed in
MATLAB.
EX.NO:
DATE:
AIM:
To find the DFT the given sequence using MATLAB.
ALGORITHM:
Programe
%calculation of DFT of a sequence
a=input('enter the sequence');
N=length(a);
for k=1:N
z(k)=0;
for n=1:N
z(k)=z(k)+(a(n)*(exp((-1i*2*pi*(k-1)*(n-1))/N)));
end
end
disp(z);
Output:
enter the sequence[2 1 4 3 5 6]
Columns 1 through 2
21.0000
-2.0000 + 5.1962i
Columns 3 through 4
Columns 5 through 6
-3.0000 - 3.4641i -2.0000 - 5.1962i
RESULT:
Thus the DFT of the given sequence generated using MATLAB
INTERPOLATION AND
DECIMATION
FUNCTION
AIM:
To write a mat lab program for interpolation and decimation function.
APPARATUS REQUIRED:
personal computer
mat lab version
ALGORITHM:
Start the program.
Get the input sequence.
Perform the decimation (interpolation) function.
Stop the execution.
Result:
Thus the program of implementation of interpolation and decimation function
verified and executed successfully.