Complex noisy doppler signal.
[Y,IFLAW]=dopnoise(N,FS,F0,D,V,T0,C)
a positive integer: the number of points.
a positive scalar : the sampling frequency (in Hertz).
a scalar in ]0 FS/2]: the target frequency (in Hertz).
a positive scalar: the distance from the line to the observer (in meters).
a positive scalar: the target velocity (in m/s).
a positive integer in [1 N]: the time center index (default : round(N/2)).
a positive scalar: the wave velocity (in m/s) (default : 340).
Output signal.
Model used as instantaneous frequency law.
dopnoise generates a complex noisy doppler signal, normalized so as to be of unit energy.
rand("seed",0) [z,iflaw]=dopnoise(500,200,60,10,70,128); clf; subplot(211); plot(real(z));xtitle(_("Signal real part")) subplot(212); plot(iflaw); ifl=instfreq(z,11:478,10); plot(ifl,'g'); xtitle(_("Instantaneous frequency")) legend([_("Requested"),_("Obtained")]); sum(abs(z).^2) //check energy | ![]() | ![]() |