using los2 function

조회 수: 1 (최근 30일)
hegel
hegel 2020년 8월 30일
댓글: hegel 2020년 10월 31일
Hello,
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?
thanks
mg
  댓글 수: 1
hegel
hegel 2020년 10월 31일
thank you for your help!

댓글을 달려면 로그인하십시오.

채택된 답변

Ayush Gupta
Ayush Gupta 2020년 9월 2일
In los2 function, a sphere is used with a default readius of 63701000 meters. It’s not possible to request use of an ellipsoid in los2. But if we replace wgs84Ellipsoid in the aer2geofetic calls with
referenceSphere('earth')
everything will work out fine. Refer to the documentation of los2 to see how referenceEllipsoid can be used with that to calculate line-of-sight with different reference ellipsoids.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Earth and Planetary Science에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by