Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
Curious
Posts:
1,700
Registered:
12/6/04
|
|
Re: A basic question
Posted:
Jan 16, 2013 11:32 AM
|
|
"Jerry " <jerrycholo@gmail.com> wrote in message <kd6iq9$mmv$1@newscl01ah.mathworks.com>... > Hello, > > I used this model [y = D+(A-D)/(1+(x/C)^B)] and predicted all parameters using a vector of 'x' and 'y'. For a specific value of 'y', I would like to calculate a value for the 'x' using this model [x =((((D+(A-D))/y)-1)^1/B)*C] derived from the original model. But the calculated 'x' is not what it should be. I am assuming there is something wrong with this model [x =((((D+(A-D))/y)-1)^1/B)*C]. May someone give me a comment? > > Thanks, > Jerry
Based on what little information provided (I assume A,B,C, & D are scalars), I suggest two things:
1. Put parentheses around 1/B, i.e.
x =((((D+(A-D))/y)-1)^(1/B))*C 2. Try using element-by-element operators:
x =((((D+(A-D))./y)-1).^(1/B))*C
See if those help.
|
|
|
|