Goal Seeking

16 次查看(过去 30 天)
Aaron
Aaron 2011-3-20
Is there a way to perform the same goal seeking type of calculation in matlab as excel?
I have three equations I with two unknowns in all three. I want to give matlab a trial soluation and have it calculate a solution that will make all three equations approximately equal to each other.
  1 个评论
Walter Roberson
Walter Roberson 2011-3-21
Seems a bit pointless when you can have solve() calculate the answers directly.

请先登录,再进行评论。

回答(1 个)

Andrew Newell
Andrew Newell 2011-3-20
If you have the Symbolic Toolbox, fgoalattain will do it.
  1 个评论
Aaron
Aaron 2011-3-21
I have that toolbox, however I'm having trouble figuring out if you can use fgoalattain for an expression with multiple variables and multiple equations?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by