%% Get Current Satellite Positions and Velocities
% Get the current satellite positions and velocities from the GNSS satellites. Access the orbital parameters from IS-GPS-200K Interface Specification and calculate the position and velocities in ECEF coordinates for the given time. Display the satellite positions.

t = datetime('now','TimeZone','Local');
[satPos,satVel] = gnssconstellation(t);
disp(satPos)

% Copyright 2020 The MathWorks, Inc.