MATLAB Answers

PK

computing square of an exponential

Asked by PK
on 12 Sep 2012

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

  2 Comments

Azzi Abdelmalek
on 12 Sep 2012

what is exp2?

Star Strider
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.

1 Answer

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)

  4 Comments

Azzi Abdelmalek
on 12 Sep 2012

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

PK
on 12 Sep 2012

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

Azzi Abdelmalek
on 12 Sep 2012

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


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today