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"))


sonicscrewdriver documentation built on May 29, 2024, 3:39 a.m.