Question about exponential functions and draw plots

1 次查看(过去 30 天)
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!

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Graphics Objects 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by