This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: %-Period = ? plot( tt4, xx4) Period : .02 Frequency: 50 5: Testing code: [xx4,tt4] = syn_sin([.5,.5,.5,.5], [2,2*exp(-j*pi*1.25),1,-j], 2000, 6,-.5); plot(tt4,xx4); 6: %--%--- multipath for Lab #2 %--c = 3e8; xv = 0:0.1:300; %-- vehicle locations in meters dt = 1500; %-- location of the transmitter dr = [100,900]; %-- location of the reflector G_r = 1; %-- gain of the reflector phi_r = pi; %-- phase of the reflector fo = 150e6; %-- in Hz lambda = c/fo % Rtv = abs(xv+j*dt); %-- range between xmtr and vehicle zr = dr*[1;j]; Rrefv = abs(xv-zr) + abs(j*dt-zr); %-- range between xmtr, refl and veh % delay_1 = Rtv/c; delay_2 = Rrefv/c; % X_1 = exp(-j*2*pi*fo*delay_1); X_2 = G_r*exp(j*phi_r)*exp(-j*2*pi*fo*delay_2); X_v = X_1 + X_2; % plot( xv, abs(X_v) ) shg...
View Full Document
This note was uploaded on 01/03/2012 for the course EEL 3135 taught by Professor ? during the Fall '08 term at University of Florida.
- Fall '08