Description Usage Arguments Examples
View source: R/4_misc_dopplershift.R
Calculates the Doppler shift frequency
1 2 | dopplershift(v1 = 10, v2 = 0, c = 340, freq = 300,
direction = "towards")
|
v1 |
velocity of receiver |
v2 |
velocity of sound source |
c |
speed of sound |
direction |
"towards" or "away" |
1 2 3 4 5 6 | dopplershift(v1 = 20, v2 = 0, c = 340, freq = 300)
$`Frequency`
[1] 317.6471
$`Percent frequency shift`
[1] 5.882353
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.