MATLAB Answers

Question about exponential functions and draw plots

조회 수: 1(최근 30일)
Chris Lin
Chris Lin 2021년 7월 30일
답변: Chunru 2021년 7월 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)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by