what is the code to plot this ?

19 ビュー (過去 30 日間)
Giuseppe Alfieri
Giuseppe Alfieri 2018 年 7 月 22 日
コメント済み: madhan ravi 2018 年 10 月 11 日
e^(-0.3237t)*cos(3.4836t)

採用された回答

madhan ravi
madhan ravi 2018 年 7 月 22 日
編集済み: madhan ravi 2018 年 7 月 22 日
syms t
ezplot(exp(-0.3237*t)*cos(3.4836*t))
  1 件のコメント
madhan ravi
madhan ravi 2018 年 10 月 11 日
if it worked accept the answer

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

その他の回答 (1 件)

Image Analyst
Image Analyst 2018 年 7 月 22 日
Try this:
t = linspace(-5, 7, 200);
y = exp(-0.3237 .* t) .* cos(3.4836 * t);
plot(t, y, 'b.-', 'LineWidth', 2, 'MarkerSize', 15);
grid on;
title('y vs. t', 'FontSize', fontSize);
xlabel('t', 'FontSize', fontSize);
ylabel('y', 'FontSize', fontSize);
ax = gca;
ax.YAxisLocation = 'origin';
ax.XAxisLocation = 'origin';

カテゴリ

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

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by