I have the task to plot a graph using the function y=e^x but I am having trouble with the constant e. Do I have to define e first? or is there another way to rewrite this equation?

 採用された回答

Stephen23
Stephen23 2018 年 2 月 24 日
編集済み: Stephen23 2018 年 2 月 24 日

3 投票

1 件のコメント

Dyuman Joshi
Dyuman Joshi 2024 年 1 月 20 日
編集済み: Dyuman Joshi 2024 年 1 月 27 日
This can be obtained using fplot as well -
%Plot the exp function from x = -2 to x = 3
fplot(@exp, [-2 3])

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

その他の回答 (0 件)

カテゴリ

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

質問済み:

2018 年 2 月 24 日

編集済み:

2024 年 1 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by