# speed2dop

Convert speed to Doppler shift

## Description

example

dps = speed2dop(radvel,lambda) returns the one-way Doppler shift in hertz corresponding to the radial velocity radvel for the wavelength lambda.

## Examples

collapse all

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.

f0 = 24.15e9;
lambda = physconst('LightSpeed')/f0;
doppler_shift = 2.8807e+03

## Input Arguments

collapse all

Radial velocity in meters per second, specified as a scalar, vector, or matrix.

Data Types: double

Wavelength in meters, specified as a positive scalar.

Data Types: double

## Output Arguments

collapse all

One-way Doppler shift in hertz, returned as a scalar, vector, or matrix.

collapse all

The Doppler shift of a source relative to a receiver can be computed from the relative radial velocity between the source and receiver:

$\Delta f=\frac{{V}_{s,r}}{\lambda }$

where Δf is the Doppler shift in hertz, Vs,r denotes the radial velocity of the source relative to the receiver, and λ is the carrier frequency wavelength in meters.

## Version History

Introduced in R2011a