function [lat,lon]=dm2dd(lat,lon);
   for i=1:length(lat);
     lat(i)=floor(lat(i)/100)+rem(lat(i),floor(lat(i)/100)*100)/60.;
     if lon(i)<0;
       lon(i)=floor(lon(i)/100)+1-rem(lon(i),ceil(lon(i)/100)*100)/(-60.);
     else
       lon(i)=floor(lon(i)/100)+rem(lon(i),floor(lon(i)/100)*100)/(60.);
     end;
   end;
