What is the equation for this graph?

 採用された回答

David Sanchez
David Sanchez 2014 年 11 月 14 日

0 投票

I give you the first section and you extend it along the x-axis
x = 0:0.001:0.04;
y = (800.*x-4).*(x>=0 & x<0.01) + 4.*(x>=0.01 & x<0.02) + (-400.*x+12).*(x>=0.02 & x<=0.04);
plot(x,y)
grid on
axis([0 0.04 -6 6])

1 件のコメント

Kris
Kris 2014 年 11 月 14 日
Thank you!!

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGraph and Network Algorithms についてさらに検索

タグ

質問済み:

2014 年 11 月 14 日

コメント済み:

2014 年 11 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by