フィルターのクリア

How to plot "f(x,y) = e^-(x^2+y^2)" function in matlab?

13 ビュー (過去 30 日間)
Beyza Taka
Beyza Taka 2020 年 4 月 9 日
コメント済み: Torsten 2022 年 8 月 13 日
Undefined function or variable 'y'.
Error in Untitled (line 5)
y = exp(x.^2+y.^2);
my computer gives these errors and I do not know how to fix them.
  2 件のコメント
Torsten
Torsten 2020 年 4 月 9 日
Try "surf".
Beyza Taka
Beyza Taka 2020 年 4 月 9 日
That hasn’t changed

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

採用された回答

Star Strider
Star Strider 2020 年 4 月 9 日
編集済み: Torsten 2020 年 4 月 9 日
Try this:
figure
fsurf(@(x,y)exp(-(x.^2+y.^2)), [-2 2 -2 2])
  8 件のコメント
Rik
Rik 2022 年 8 月 13 日
@Nguyet Nguyen You should have posted a link to your question. That way you avoid double effort.
Torsten
Torsten 2022 年 8 月 13 日
Can you also suggest for me what range would i change if i want to draw the function f(x,y)=(x^(2)+y^(2)) ℯ^(y^(2)-x^(2))
The proof of the pudding is in the eating.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Object Programming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by