Excel's Goal Seek Equivalent

8 次查看(过去 30 天)
Kaila
Kaila 2012-2-5
I would like to solve the following equation such that the variable, hf, satisfies it:
F = J1 * J2 * (((1 - exp(-a7*hf))/a7) + (H2*(1-exp(-a7*hf)-(a7*hf*exp(-a7*hf))))/(a7^2));
Where a7 is a numerical data value computed in a separate script, H2 is a numerical value imported from Excel and F, J1 and J2 will be defined before this function call.
Example values that I have determined by hand (with rounding) are such: If, J1 = 57.259, F = 592.9, J2 = 3.256, H2 = 7, a7 = 0.4, then hf = 0.936.
Is there a way to solve this equation in a similar manner to Excel's goal seek?
Thank you
  1 个评论
Walter Roberson
Walter Roberson 2012-2-5
http://www.mathworks.com/matlabcentral/answers/3608-goal-seeking

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by