Professional Documents
Culture Documents
SUBMITTED TO
PROF. ELEMER DEMETER.
SUBMITTED BY
VISHAVJEET SINGH DEVGAN (200394370)
1Q- Develop the Full-cycle Fourier algorithm in the programming language of your choice,
knowing that the signal was sampled at 1.92khz. List the filter coefficients. Plot the magnitude
of the signals. If these signals represent voltages ?
CODE
PLOT A
f=60; %frequency for signal
fs=1920; %...Sampling frequency
N=fs/f; %////sampling rate
deltaT= 1/f/N; %.....timestamp
n=0:N-1; %..finding filter
coefficients.....
hr=2/N*cos(2*pi*n/N);
hi=2/N*sin(2*pi*n/N);
h=hr+i*hi; %filter coefficients in complex form
a='as4.xls'; %import sample values from given file
name as4.xls
y=xlsread(a);
%assigning values to excel file
Xa=y(:,1); % reading sample values of phase a
Sa=Xa';
Vr=convn(Sa,hr);
Vi=convn(Sa,hi);
Va=sqrt(Vr.*Vr+Vi.*Vi);
figure;
plot(Va)
hold
plot(Sa)
plot(Va/sqrt(2))
grid on
title('Magnitude of Sampled Signals a')
PLOT B
f=60;
fs=1920;
N=fs/f;
deltaT= 1/f/N;
n=0:N-1;
hr=2/N*cos(2*pi*n/N);
hi=2/N*sin(2*pi*n/N);
h=hr+i*hi;
a='as4.xls';
y=xlsread(a);
Xb=y(:,2);
Sb=Xb';
Vr=convn(Sb,hr);
Vi=convn(Sb,hi);
Vb=sqrt(Vr.*Vr+Vi.*Vi);
figure;
plot(Vb)
hold
plot(Sb)
plot(Vb/sqrt(2))
grid on
title('Magnitude of Sampled Signals b')
PLOT C
f=60;
fs=1920;
N=fs/f;
deltaT= 1/f/N;
n=0:N-1;
hr=2/N*cos(2*pi*n/N);
hi=2/N*sin(2*pi*n/N);
h=hr+i*hi;
a='as4.xls';
y=xlsread(a);
Xc=y(:,3);
Sc=Xc';
Vr=convn(Sc,hr);
Vi=convn(Sc,hi);
Vc=sqrt(Vr.*Vr+Vi.*Vi);
figure;
plot(Vc)
hold
plot(Sc)
plot(Vc/sqrt(2))
grid on
title('Magnitude of Sampled Signals c')
Ans- removing 52-2 from service and supplying load to L2 with 52-T.
Steps Equipment From To
Step 1 1-e No Nc
Step 2 1-d Nc No
Step 3 4-e No Nc
Step 4 4-d Nc No
Step 5 2-c No Nc
Step 6 2-b Nc No
Step 7 2-a nc No
1 2-a No Nc
2 2-b No Nc
3 2-c Nc No
4 52-t Nc No
5 1-d No Nc
6 1-e Nc No
7 2-e No Nc
8 2-d Nc No
9 3-d No Nc
10 3-e Nc No