how to plot a single axis graph

y =100*(0.02+x)^0.2

1 件のコメント

Rena Berman
Rena Berman 2020 年 5 月 14 日
(Answers Dev) Restored edit

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

回答 (1 件)

Walter Roberson
Walter Roberson 2020 年 4 月 27 日

1 投票

Vectorize your code by using .^ instead of ^
You can either define an anonymous function for the calculation, and use fplot() with that, OR you can define x as a list of particular values, and calculate y from there, and plot(x,y)

カテゴリ

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

タグ

質問済み:

2020 年 4 月 27 日

コメント済み:

2020 年 5 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by