I'm using los2 to determine if a user that may be located on the surface of "the earth" or at altitude is in line-of-sight to a satellite orbiting earth.
I use los2 like this:
Z = zeros(181,361); %altitude profile (no altitude)
R = georefpostings([-90 90], [-180 180], size(Z)); %all arround
vis = los2(Z,R,lat1,lon1,lat2,lon2,alt1,alt2)
My question is:
- What earth model does los2 uses? (wgs84? or just a circunference with earth's radius?)
I'd like to make sure it uses wgs84, and if doesn't if there is a way to do it?