How to define 𝑓(𝑥, 𝑦) = 𝑒−(2√𝑥2+𝑦2)

Please help i keep getting error.

1 件のコメント

Alexxis Schwalier
Alexxis Schwalier 2021 年 2 月 17 日
Actually, it should be e^-(2sqrt(x^2+y^2))

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

回答 (2 件)

Walter Roberson
Walter Roberson 2021 年 2 月 17 日

1 投票

exp(-2*sqrt(x.^2+y.^2))
Steven Lord
Steven Lord 2021 年 2 月 17 日

0 投票

Since this sounds like it might be part of a homework assignment, I'm just going to point you to two functions that may be of use to you: exp and hypot.

タグ

質問済み:

2021 年 2 月 17 日

回答済み:

2021 年 2 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by