computing square of an exponential

2 views (last 30 days)
PK
PK on 12 Sep 2012
how to compute square of an exponential which is in the form of exp2(some value)
  2 Comments
Star Strider
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?

Sign in to comment.

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 12 Sep 2012
Edited: Azzi Abdelmalek on 12 Sep 2012
x=100%
res=exp(x)^2
%or
res=exp(x*2)
  4 Comments
PK
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
Azzi Abdelmalek on 12 Sep 2012
yes in theory, but in matlab coding : exp^2(100) is false

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!