how do i create an array of e^x

2 views (last 30 days)
Nicholas Cappellino
Nicholas Cappellino on 31 Oct 2018
Commented: Steven Lord on 31 Oct 2018
x=1:25
  2 Comments
Matt J
Matt J on 31 Oct 2018
You have been asking lots of questions about things you really ought to know how to do if you have been through the Getting Started documentation. The forum is not meant to be a replacement for reading the manual.
Steven Lord
Steven Lord on 31 Oct 2018
Alternately, if you prefer to learn by watching videos and through hands-on experimentation rather than reading the documentation, consider taking the MATLAB Onramp course available on the MathWorks website.

Sign in to comment.

Answers (2)

Fangjun Jiang
Fangjun Jiang on 31 Oct 2018
try exp(x)

KSSV
KSSV on 31 Oct 2018
Edited: KSSV on 31 Oct 2018
x=1:25
y = exp(x) ;
plot(x,y)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!