- /
-
Doppler to Mach: "Buh-bye"
on 28 Oct 2021
- 3
- 10
- 0
- 0
- 278
vp=9;vw=7;ts=2;
th=linspace(0,2*pi);
x=cos(th);
y=sin(th);
f=@(pos,rad,col)line(rad*x+pos,rad*y,Color=col,LineWidth=4);
t1=30;
t=[0:ts:t1 t1];
d=t*vp;
cm=flipud(pink(length(d)).^0.5);
for i=1:length(d)
r=vw*(t1-t(i));
f(d(i),r,cm(i,:))
end
line(d(end),0,Marker='.',Col='k',MarkerSize=28)
axis equal off