Satellite Coverage Map for Mauritius Airspace

4 views (last 30 days)
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);

Answers (1)

Naren
Naren on 6 May 2024
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 Comment
fabrice darnel
fabrice darnel on 7 May 2024
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?

Sign in to comment.

Categories

Find more on Reference Applications in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!