Satellite Coverage Map for Mauritius Airspace

조회 수: 4 (최근 30일)
fabrice darnel
fabrice darnel 2024년 4월 19일
댓글: fabrice darnel 2024년 5월 7일
Hi everyone, I am trying to simulate the satellite coverage of Iridium Constellation over the Mauritian Airspace and I am having the following error:
Error using bufferm
Expected BUFWIDTH to be positive.
Error in bufferm (line 62)
validateattributes(bufwidth, {'numeric'}, ...
[latBuff, lonBuff] = bufferm(lla(1), lla(2), earthCentralAngle, "outPlusInterior");
Error in satcoverage (line 14)
fov = fieldOfViewShape(lla(:, :, satind), halfBeamWidth);

답변 (1개)

Naren
Naren 2024년 5월 6일
Hello Fabrice,
The error states that the `bufwidth` must be a positive scalar; please check whether you have assigned the correct value to the variable `bufwidth`. Additionally, to simulate satellite coverage of the Iridium constellation over Mauritian airspace, ensure you have the correct geographical coordinates. Also, verify that 'Mauritius' is included in the 'landareas.shp' file when adding a grid of ground stations covering 'Mauritius'.
For further inromation on this topic, please refer to the following documentation:
Regards.
  댓글 수: 1
fabrice darnel
fabrice darnel 2024년 5월 7일
Hello @Naren and thank you for your comments.
Indeed I have included the Mauritius shape file, see below outputs:
Shape NATURAL NAME
____________ ___________ _______________________
geolineshape "shoreline" ""
geolineshape "shoreline" ""
geolineshape "shoreline" ""
geolineshape "water" "Mare Longue Reservoir"
geolineshape "shoreline" ""
geolineshape "shoreline" ""
mauritiusBuffered =
geopolyshape with properties:
NumRegions: 1
NumHoles: 0
Geometry: "polygon"
CoordinateSystemType: "geographic"
GeographicCRS: []
700×383 geopointshape array with properties:
NumPoints: [700×383 double]
Latitude: [700×383 double]
Longitude: [700×383 double]
Geometry: "point"
CoordinateSystemType: "geographic"
GeographicCRS: []
i have also plotted the buffered coastline and grid points
and the viewer does display the satellites their respective signal propagation (see picture below) and I don't know where it is going wrong. The coordinates and other input parameters seems ok to me. Is it possible you get to have a look at the modifications that I made?

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

카테고리

Help CenterFile Exchange에서 Reference Applications에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by