Description Usage Arguments Value Examples
Calculates the distance of an object based on the round trip time of an echolocation pulse
1 | radar.range(t, c = soundSpeedMedium(medium = "air"))
|
t |
Time in seconds |
c |
Speed of sound in transmission medium m/s (by default air) |
Distance to object
1 2 3 | radar.range(2)
radar.range(2, c=343)
radar.range(2, c=soundSpeedMedium("sea water"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.