MATLAB: How to plot that

cosexplogplot

Hello! How to plot that?

Best Answer

phi=.1;%not sure what you what
alpha=2*log(10);
f=4;
A=1;
t=0:.001:1;
f=@(t)A*exp(-alpha*t).*cos(2*pi*f*t+phi);
plot(t,f(t));