Learn R Programming

bioRad (version 0.5.1)

beam_width: Calculate radar beam width

Description

Calculates the width of a radar beam as a function of range and beam angle.

Usage

beam_width(range, beam_angle = 1)

Arguments

range

numeric. Range (distance from the radar antenna) in m.

beam_angle

numeric. Beam opening angle in degrees, typically the angle between the half-power (-3 dB) points of the main lobe

Value

numeric. Beam width in m.

Examples

Run this code
# NOT RUN {
#' # beam width in meters at 10 km range:
beam_width(10000)

# define ranges from 0 to 1000000 meter (100 km), in steps of 100 m:
range <- seq(0, 100000, 100)

# plot the beam width as a function of range:
plot(range, beam_width(range), ylab = "beam width [m]", xlab = "range [m]")
# }

Run the code above in your browser using DataLab