
%% AUV latitude/longitude calculations for Biolum AUV missions of 8/26/00 (2000240)
% ship lat [deg min], ship lon [deg min], ship heading, AUV bearing, AUV range
startpt=[36 56.157	122	3.277	190	123	168];
endpt=[36	54.875	122	7.706	170	43		221];

%% Ship
startlat=startpt(1)+startpt(2)/60; startlon=-startpt(3)-startpt(4)/60;
ship=[startlat startlon]; rng=startpt(5:7);\
startlatlon=bearing(ship,rng)
startlatlon2=bearing(startpt(1:4),startpt(5:7))

endlat=endpt(2)+endpt(2)/60; endlon=-startpt(3)-startpt(4)/60;
