how do i create an array of e^x

2 次查看(过去 30 天)
x=1:25
  2 个评论
Matt J
Matt J 2018-10-31
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 2018-10-31
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.

请先登录,再进行评论。

回答(2 个)

Fangjun Jiang
Fangjun Jiang 2018-10-31
try exp(x)

KSSV
KSSV 2018-10-31
编辑:KSSV 2018-10-31
x=1:25
y = exp(x) ;
plot(x,y)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by