radarRange: Radar range

View source: R/radar.R

radarRangeR Documentation

Radar range

Description

Calculates the distance of an object based on the round trip time of an echolocation pulse

Usage

radarRange(t, c = soundSpeed(medium = "air"))

Arguments

t

Time in seconds

c

Speed of sound in transmission medium m/s (by default air)

Value

Distance to object

Examples

radarRange(2)
radarRange(2, c=343)
radarRange(2, c=soundSpeed(medium = "sea water"))


edwbaker/SonicScrewdriveR documentation built on Feb. 14, 2025, 2:45 p.m.