I can't see ground information
이전 댓글 표시
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")
답변 (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.
카테고리
도움말 센터 및 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!