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

14 vues (au cours des 30 derniers jours)
Alexxis Schwalier
Alexxis Schwalier le 17 Fév 2021
Please help i keep getting error.
  1 commentaire
Alexxis Schwalier
Alexxis Schwalier le 17 Fév 2021
Actually, it should be e^-(2sqrt(x^2+y^2))

Connectez-vous pour commenter.

Réponses (2)

Walter Roberson
Walter Roberson le 17 Fév 2021
exp(-2*sqrt(x.^2+y.^2))

Steven Lord
Steven Lord le 17 Fév 2021
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.

Community Treasure Hunt

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

Start Hunting!

Translated by