MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply TodayTo resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

Asked by PK on 12 Sep 2012

how to compute square of an exponential which is in the form of exp2(some value)

*No products are associated with this question.*

Answer by Azzi Abdelmalek on 12 Sep 2012

Edited by Azzi Abdelmalek on 12 Sep 2012

x=100% res=exp(x)^2

%or

res=exp(x*2)

Show 1 older comment

## 2 Comments

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/47948#comment_98881

what is exp2?

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/47948#comment_98935

The

exp2model exists in the Curve Fitting Toolbox and is defined as:Is that what you are referring to?