Plot this for me please

8 ビュー (過去 30 日間)
Yasser Almosabi
Yasser Almosabi 2018 年 11 月 30 日
コメント済み: madhan ravi 2018 年 11 月 30 日
x = 7.234e-7*cos(132.9*t) - 1.054e-6*exp(-1.0*t) - 5.901e-6*cos(70.71*t) - 5.444e-9*sin(132.9*t) + 8.345e-8*sin(70.71*t) + 7.042e-6*cos(24.56*t) - 8.114e-7*cos(108.3*t) - 2.868e-7*sin(24.56*t) + 7.49e-9*sin(108.3*t);
t = 0:0.01:3;
Please someone plot this for me Im not sure from my code cuz i got I little bit wierd graph
  2 件のコメント
madhan ravi
madhan ravi 2018 年 11 月 30 日
why do you say it's wierd?
madhan ravi
madhan ravi 2018 年 11 月 30 日
doc plot in command window tells you how to use plot command

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

採用された回答

Mark Sherstan
Mark Sherstan 2018 年 11 月 30 日
Looks fine to me.
t = 0:0.01:3;
x = 7.234e-7*cos(132.9*t) - 1.054e-6*exp(-1.0*t) - 5.901e-6*cos(70.71*t) - 5.444e-9*sin(132.9*t) + 8.345e-8*sin(70.71*t) + 7.042e-6*cos(24.56*t) - 8.114e-7*cos(108.3*t) - 2.868e-7*sin(24.56*t) + 7.49e-9*sin(108.3*t);
plot(t,x)
xlabel('t')
ylabel('x')
untitled.png
  1 件のコメント
Yasser Almosabi
Yasser Almosabi 2018 年 11 月 30 日
Y = [YOU; ARE; THE; BEST]
Y =
YOU
ARE
THE
BEST

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

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by