Introduction - If you have any usage issues, please Google them yourself
ALM2POS computation for satellite position from almanac data file
[pos,R]=alm2pos(almanac,PRN,time) calculates the satellite position in the
Terrestial and in the Celestial reference frame for a desiderate satellite
vehicle (PRN) with almanac data (ALMANAC). The given time (TIME) can be a
scalar or also a vector. Colomn 1-3 of position (pos) are Terrestial
Coordinates (ECEF) colomn 4-6 of position are Celestial Coordinates (ECSF)
in m. Another output is the position vector of the satellite (R) in m.