Created
August 15, 2021 18:24
-
-
Save Tschucker/c2127d907380d6db80a9fbeb53d61b1d to your computer and use it in GitHub Desktop.
Matlab Topographic RF Propagation Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% RF Propagation Simulation | |
%Tom Schucker | |
%% Set Custom Terrain | |
%terrain file (download from https://earthexplorer.usgs.gov/) | |
dtedfile = "n37_w122_1arc_v3.dt2"; | |
%data attribution | |
attribution = "SRTM 3 arc-second resolution. Data available " + ... | |
"from the U.S. Geological Survey."; | |
%enable the custom terrain for use | |
addCustomTerrain("bay",dtedfile,"Attribution",attribution) | |
%% Set Transmitter Location | |
hotspot = txsite("Name","hotspot", ... | |
"Latitude",38.077450, ... | |
"Longitude",-122.228539, ... | |
"AntennaHeight", 3); | |
%show the location on the map | |
show(hotspot) | |
%% Computer RF Coverage | |
coverage(hotspot, ... | |
"MaxRange",50000, ... | |
"SignalStrengths",-100:-5) | |
%% Remove Custom Terrain | |
removeCustomTerrain("bay") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment