View source: R/4_misc_dopplershift.R
| dopplershift | R Documentation |
Calculates the doppler shift. Input velocity, frequency. The output gives the new frequency and the frequency shift S2 (time shifted sound), Tadd (time added), Time (time)
dopplershift(v1 = 10, v2 = 0, c = 340, freq = 300, direction = "towards")
v1 |
speed of first one |
v2 |
speed of second one |
direction |
specify the direction as towards or away from each other |
f |
frequency |
dopplershift(v1 = 10, v2 = 0, c = 343, freq = 300, direction = "towards") $Frequency [1] 308.7464 $`Percent frequency shift` [1] 2.915452
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.