barua_3713908_group1_matlab_tasks

barua_3713908_group1_matlab_tasks - TASK 4: Z1 =...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
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-')
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: TASK 4: 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

This note was uploaded on 04/15/2010 for the course ECTE 906 taught by Professor Pd during the Three '10 term at University of Wollongong, Australia.

Ask a homework question - tutors are online