Question about exponential functions and draw plots

I want to use matlab to draw a graph of y=e^(alxl+b). And enter different values ​​of a and b to see how his graph looks like, what should I do? Thanks!

Réponses (1)

doc fplot for more details.
a = 1; b= 2;
f = @(x) exp(a*abs(x) + b);
fplot(f)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange

Question posée :

le 30 Juil 2021

Réponse apportée :

le 30 Juil 2021

Community Treasure Hunt

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

Start Hunting!

Translated by