Goal Seeking

9 vues (au cours des 30 derniers jours)
Aaron
Aaron le 20 Mar 2011
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 commentaire
Walter Roberson
Walter Roberson le 21 Mar 2011
Seems a bit pointless when you can have solve() calculate the answers directly.

Connectez-vous pour commenter.

Réponses (1)

Andrew Newell
Andrew Newell le 20 Mar 2011
If you have the Symbolic Toolbox, fgoalattain will do it.
  1 commentaire
Aaron
Aaron le 21 Mar 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?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by