how to use the coverage function in the antenna toolbox on stl files

How can I do this same coverage simulations using an stl, obj or fbx object? The documentation on the coverage function says cartesian coordiantes can be used but i have a constant error saying: "The 'coverage' function is not supported for sites with 'CoordianteSystem' set to 'cartesian' which im sure is line 214 of the coverage function.

Answers (1)

I understand that you are trying to obtain the coverage map using an STL file as input with the “cartesian” coordinate system. As an alternative, you may try using the “siteviewer” function with “cartesian" coordinate system and using the "SceneModel" Name-Value pair for the STL file input to compute signal strength at various points using the "sigstrength" function as follows:
viewer = siteviewer("SceneModel", "STL_File_Name.stl");
tx = txsite('CoordinateSystem', 'cartesian', 'AntennaPosition', pos_tx);
rx = rxsite('CoordinateSystem', 'cartesian', 'AntennaPosition', pos_rx);
ss = sigstrength(rx, tx, "Map", viewer);
You may repeat this for various “rxsite” positions in the 3D model and obtain data similar to that of a coverage map.
Please find below the related documentation for your reference:

Categories

Products

Release

R2023a

Asked:

on 31 Jul 2023

Edited:

on 6 Dec 2024

Community Treasure Hunt

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

Start Hunting!