Goal Seeking

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 Kommentar

Walter Roberson
Walter Roberson am 21 Mär. 2011
Seems a bit pointless when you can have solve() calculate the answers directly.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Andrew Newell
Andrew Newell am 20 Mär. 2011

0 Stimmen

If you have the Symbolic Toolbox, fgoalattain will do it.

1 Kommentar

Aaron
Aaron am 21 Mär. 2011
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?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 20 Mär. 2011

Community Treasure Hunt

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

Start Hunting!

Translated by