How do i plot?

1 回表示 (過去 30 日間)
Wei Jun Lee
Wei Jun Lee 2018 年 4 月 25 日
コメント済み: Wei Jun Lee 2018 年 4 月 25 日
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.
  1 件のコメント
Aniket Patil
Aniket Patil 2018 年 4 月 25 日
Please provide good expression.

サインインしてコメントする。

採用された回答

Pawel Jastrzebski
Pawel Jastrzebski 2018 年 4 月 25 日
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:
  1 件のコメント
Wei Jun Lee
Wei Jun Lee 2018 年 4 月 25 日
Yes, thank you so much!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSpectral Measurements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by