Satellite Coverage Map for Mauritius Airspace

5 次查看(过去 30 天)
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