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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

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

## Azzi Abdelmalek (view profile)

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

what is exp2?

## Star Strider (view profile)

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?