Im having problem plotting the sinusoidal time signal for (5+cos(20pt))cos(2p(100)t), having Dt=0.0001s, t=0~0.02 sec.

 채택된 답변

Pawel Jastrzebski
Pawel Jastrzebski 2018년 4월 25일

0 개 추천

Is this what you meant?
dt = 0.0001;
t = 0:dt:0.02;
y = (5+cos(20*pi*t)).*cos(2*pi*100*t);
figure;
plot(t,y);
Output:

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

질문:

2018년 4월 25일

댓글:

2018년 4월 25일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by