Display the area that is visible by radar for an aircraft flying above the terrain. You can use the viewshed
function to model radio wave propagation in the atmosphere as straight lines on a sphere.
Load terrain elevation data for an area around the Korean peninsula. To make the water areas appear consistent on the plot, set all elevations below sea level (korea5c<0
) to the same value.
Specify the location of the aircraft. Then, calculate visible areas for the aircraft, at 3000
meters above mean sea level, of the surface. Model radio propagation in the atmosphere by specifying an effective radius for the reference sphere.
Set up a relief map for the area by adjusting the data aspect ratio, the plot box aspect ratio, and the lighting.
Display the terrain data, the viewshed, and the aircraft on the map. Adjust the colormap so that the visible areas appear in blue and the obscured areas appear in red. Note that some ocean areas are obscured by an island.
Calculate the viewshed again, this time calculating visible areas for the aircraft at 3000
meters of other aircraft flying above it at 5000
meters. The visible area is larger, with some of the area obscured by the island and mountains.