radarRange {sonicscrewdriver} | R 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"))
[Package sonicscrewdriver version 0.0.7 Index]