I can't see ground information
41 ビュー (過去 30 日間)
古いコメントを表示
I have wrritten the code that the example are explaining.
But as you see, the ground informations are not shown. There are only black spaces.
How can I solve this problem?

My code :
viewer1 = siteviewer("Basemap","openstreetmap","Building","canarywharf.osm");
tx = txsite("Name","Small cell transmitter", ...
"Latitude",51.50375, ...
"Longitude",-0.01843, ...
"AntennaHeight",10, ...
"TransmitterPower",5, ...
"TransmitterFrequency",28e9);
rtpm = propagationModel("raytracing", ...
"Method","sbr", ...
"MaxNumReflections",0, ...
"BuildingsMaterial","perfect-reflector", ...
"TerrainMaterial","perfect-reflector");
coverage(tx,rtpm, ...
"SignalStrengths",-120:-5, ...
"MaxRange",250, ...
"Resolution",3, ...
"Transparency",0.6)
rx = rxsite("Name","Small cell receiver", ...
"Latitude",51.50216, ...
"Longitude",-0.01769, ...
"AntennaHeight",1);
los(tx,rx)
rtpm.MaxNumReflections = 3;
clearMap(viewer1)
raytrace(tx,rx,rtpm)
ss = sigstrength(rx,tx,rtpm);
disp("Received power using perfect reflection: " + ss + " dBm")
0 件のコメント
回答 (1 件)
Pratyush
2023 年 11 月 20 日
Hi Byeongjo,
I understand that the "siteviewer" function does not show the ground information.
To display the ground information in the MATLAB "siteviewer", you can adjust the Basemap settings to include terrain information.
Here's how you can modify the code to include terrain information:
viewer1 = siteviewer("Basemap","osm","Buildings","canarywharf.osm","Terrain","terrain");
Follow the following documentation link to know about "terrain" property in "siteviewer" and how to access basemap and terrain choices in "siteviewer".
Hope that helps.
参考
カテゴリ
Help Center および File Exchange で Propagation and Channel Models についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!