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

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

回答(1 个)

Abhinav Aravindan
Abhinav Aravindan 2024-12-6,7:02
编辑:Abhinav Aravindan 2024-12-6,7:10
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:

类别

Help CenterFile Exchange 中查找有关 Propagation and Channel Models 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by