**Generating two CDEF hertz sinusoids with different amplitudes and phases.x1 (t) = A1 cos (2π (CDEF) t + j1) x2 (t) = A2cos (2π (CDEF) t + j2)
**Generating two CDEF hertz sinusoids with different amplitudes and phases.x1 (t) = A1 cos (2π (CDEF) t + j1) x2 (t) = A2cos (2π (CDEF) t + j2)
ZILLUR RAHMAN
17-34006-1
DATA COMUNICATION LAB REPORT 1
**Generating two CDEF hertz sinusoids with different amplitudes and phases.x1(t) = A1
cos(2π(CDEF)t + j1) x2(t) = A2cos(2π(CDEF)t + j2)
%AB-CDEFG-H
%17-35800-3
A1 = 17;
A2 = 00;
c = 3*5*8*1;
j1 = 50*(pi/180);
j2 = 30*(pi/180);
t = -1.5/c:3/2000000:1.5/c;
x1 = A1*cos(2*pi*c*t+j1);
x2 = A2*cos(2*pi*c*t+j2);
suptitle('ZR Saimon')
plot(t,x1,t,x2)
hold on
plot(t,angle(x1),t,angle(x2))
plot(t,abs(x1),t,abs(x2))
hold off
subplot(3,1,1),plot(t,x1)
subplot(3,1,2),plot(t,x2)
x3 = x1 + x2;
subplot(3,1,3),plot(t,x3)
hold on
plot(t,angle(x3))
hold off