Convert speed to Doppler shift
Doppler_shift = speed2dop(radvel,lambda)
the one-way Doppler shift in hertz corresponding to the radial velocity,
Doppler_shift = speed2dop(
for the wavelength
Calculate the Doppler shift in hertz for a given carrier wavelength and source speed. The radar frequency is 24.15 GHz. Assume a radial speed of 35.76 m/s.
radvel = 35.76; f0 = 24.15e9; lambda = physconst('LightSpeed')/f0; doppler_shift = speed2dop(radvel,lambda)
doppler_shift = 2.8807e+03
The Doppler shift of a source relative to a receiver can be computed from the relative radial velocity between the source and receiver:
 Rappaport, T. Wireless Communications: Principles & Practices. Upper Saddle River, NJ: Prentice Hall, 1996.
 Skolnik, M. Introduction to Radar Systems, 3rd Ed. New York: McGraw-Hill, 2001.
Usage notes and limitations:
Does not support variable-size inputs.