Hi,
I need to calculate latitude and longitude for given speed and heading. First value of latitude and longitude is provide rest of the values need to be calculated for given other parameters such as speed and heading
d1=speeds(1)*stept1;
d2=speeds(2)*stept2;
lat1=lat1+d1*cosd(heading(1))/111;
lon1=lon1+d1*sind(heading(1))/111;
lat2=lat2+d2*cosd(heading(2))/111;
lon2=lon2+d2*sind(heading(2))/111;
I need to calculate latitude and longitude for given speed and heading. First value of latitude and longitude is provide rest of the values need to be calculated for given other parameters such as speed and heading
d1=speeds(1)*stept1;
d2=speeds(2)*stept2;
lat1=lat1+d1*cosd(heading(1))/111;
lon1=lon1+d1*sind(heading(1))/111;
lat2=lat2+d2*cosd(heading(2))/111;
lon2=lon2+d2*sind(heading(2))/111;