# barua_3713908_group1_matlab_tasks - Fig Plot of theta and...

This preview shows pages 1–2. Sign up to view the full content.

TASK 3: %-- direction finding d = 0.4; ff = 400; ww = 2*pi*ff; c = 1000/3; lambda = c/ff; yr = 100; xx = -50:1:300; [X1,X2,theta_true] = DF_gen(xx); Xout = X1.*conj(X2); phaseout = angle(Xout); theta = asin(c/d*(phaseout/ww)); plot(xx,theta*180/pi, 'r-') hold on, plot( xx, theta_true, 'g-')

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Fig: Plot of theta and theta_true. TASK 8: Z1 = 5*exp(1i*pi/3); Z2 = 4*exp(-1i*pi/4); Z3 = Z1+Z2; tt = 0:0.001:0.1; X3 = Z3*exp(1i*2*pi*100*tt); subplot(221);zvect(Z1, 'r' ); hold; zvect(Z2, 'b' );zvect(Z3, 'g' ) subplot(222);plot(tt,X3)...
View Full Document

{[ snackBarMessage ]}

### Page1 / 2

barua_3713908_group1_matlab_tasks - Fig Plot of theta and...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online