How to plot that?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello! How to plot that?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/408280/image.jpeg)
댓글 수: 1
Mohamad
2020년 11월 9일
Hi , you must mention the following :
f : sinusoid frequency .
alpha : Attenuation .
A
Phi : phase shift
채택된 답변
David Hill
2020년 11월 9일
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));
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!