## computing square of an exponential

### PK (view profile)

on 12 Sep 2012

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

Azzi Abdelmalek

on 12 Sep 2012

what is exp2?

Star Strider

### Star Strider (view profile)

on 12 Sep 2012

The exp2 model exists in the Curve Fitting Toolbox and is defined as:

```exp2     Y = a*exp(b*x)+c*exp(d*x)
```

Is that what you are referring to?

## Products

No products are associated with this question.

### Azzi Abdelmalek (view profile)

on 12 Sep 2012
Edited by Azzi Abdelmalek

### Azzi Abdelmalek (view profile)

on 12 Sep 2012

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

%or

` res=exp(x*2)`

Azzi Abdelmalek

### Azzi Abdelmalek (view profile)

on 12 Sep 2012

exp^2(100) don't work. use exp(100)^2 or exp(2*100)

PK

### PK (view profile)

on 12 Sep 2012

if so then exp^2(100) mean exp(2*100) or exp(100)^2 or (exp(100))^2

Azzi Abdelmalek

### Azzi Abdelmalek (view profile)

on 12 Sep 2012

yes in theory, but in matlab coding : exp^2(100) is false

#### Join the 15-year community celebration.

Play games and win prizes!

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