How to plot a function like this in matlab

4 vues (au cours des 30 derniers jours)
maharaj
maharaj le 23 Fév 2013
exp(-ax+bx^2) where x ranges from 5-250 in order of 1.
  1 commentaire
Walter Roberson
Walter Roberson le 23 Fév 2013
What are "a" and "b" ?

Connectez-vous pour commenter.

Réponse acceptée

Walter Roberson
Walter Roberson le 23 Fév 2013
x = 5 : 250;
y = exp(-a*x + b*x.^2);
plot(x, y)

Plus de réponses (0)

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by