Goal Seeking

조회 수: 9 (최근 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