im trying to plot a function i need help with it

the questions says
plot the function
y = 50*2.5^-3x
in the interval 0<x<20
in steps of 0.5
[Merged information from duplicate question]
it should be in either log-log or semi-log scale
i need help
thank you

3 件のコメント

Walter Roberson
Walter Roberson 2012 年 12 月 12 日
What have you achieved so far?
Walter Roberson
Walter Roberson 2012 年 12 月 12 日
Matt Fig asked
manar, you are dumping a lot of homework on this site without showing any hint of effort. What have you done so far?
and also said
Did you read this:
help plot
help loglog
help semilogx
help semilogy
Walter Roberson
Walter Roberson 2012 年 12 月 12 日
Odd, this question was opened by manar jawad but taken over by bob shot ?

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

 採用された回答

Arthur
Arthur 2012 年 12 月 12 日

0 投票

t = [0:0.005:4];
y = 4.50*exp(-2.0*t).*cos(12*pi*t);
plot(t,y);
grid;

1 件のコメント

Arthur
Arthur 2012 年 12 月 12 日
ok. try to read help on matlab. it can help you

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

質問済み:

2012 年 12 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by