From: Subject: Date: Sun, 4 Feb 2007 18:22:05 -0500 MIME-Version: 1.0 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Content-Location: http://www.ecs.umass.edu/ece/sdp/sdp04/janaswamy/bike.m X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
function[x] =3D bike(y, f, p)
% solve the distance equation for D for all values of y
len =3D length(y);
L=3D299792458/(f*10^6);
for i =3D 1:len,
   ty=3Dy(i);
   tp=3Dp(i);
   temp =3D solve('tp =3D =
cos(2*pi*(sqrt((L/8+D)^2+ty^2)-sqrt((L/8-D)^2+ty^2))/L)', 'D');
   x(i) =3D eval(temp(2));
end