dop2speed
Convert Doppler shift to speed
Description
Examples
Calculate Speed of Car
Calculate the radial velocity of an automobile based on the Doppler shift of a continuous-wave radar. The radar carrier frequency is 24.15 GHz. Assume a doppler shift of 2.880 kHz.
f0 = 24.15e9;
lambda = physconst('LightSpeed')/f0;
dopshift = 2.880e3;
radvel = dop2speed(dopshift,lambda)
radvel = 35.7516
The radial velocity is 35.75 meters per second or 80 miles/hour.
Input Arguments
dps
— One-way Doppler shift
scalar | vector | matrix
One-way Doppler shift in hertz, specified as a scalar, vector, or matrix.
Data Types: single
| double
lambda
— Wavelength
positive scalar
Wavelength in meters, specified as a positive scalar.
Data Types: single
| double
Output Arguments
radvel
— Radial velocity
scalar | vector | matrix
Radial velocity in meters per second, returned as a scalar, vector, or matrix.
More About
Doppler-Radial Velocity Relation
The radial velocity of a source relative to a receiver can be computed from the one-way Doppler shift:
where Vs,r denotes the radial velocity of the source relative to the receiver, Δf is the Doppler shift in hertz, and λ is the carrier frequency wavelength in meters.
Extended Capabilities
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Usage notes and limitations:
Does not support variable-size inputs.
This function supports single and double precision for input data and arguments.
References
[1] Rappaport, T. Wireless Communications: Principles & Practices. Upper Saddle River, NJ: Prentice Hall, 1996.
[2] Skolnik, M. Introduction to Radar Systems, 3rd Ed. New York: McGraw-Hill, 2001.
Version History
Introduced in R2011a
See Also
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)