%% Determine geodetic latlon2
%% Determine geodetic latlon2
% Determine the geodetic latitude and longitude from multiple direction cosine matrices

dcm = [ 0.3747    0.5997    0.7071; ...
        0.8480   -0.5299         0; ...
        0.3747    0.5997   -0.7071]; 
dcm(:,:,2) = [-0.0531    0.6064    0.7934; ...
               0.9962    0.0872         0; ...
              -0.0691    0.7903   -0.6088]; 
[lat lon] = dcm2latlon(dcm)

% Copyright 2015 The MathWorks, Inc.