warning when solving nonlinear equations with 'solve'

3 ビュー (過去 30 日間)
John
John 2014 年 4 月 15 日
回答済み: Star Strider 2014 年 4 月 15 日
Hi everyone, Quick question: I'm trying to solve a nonlinear system of 30 equations in 30 unknowns using the solve function, and I continually get the following warning:
Warning: 26 equations in 29 variables. New variables might be introduced.
How should I interpret this in light of the fact that I'm specifying 30 equations and variables as inputs into solve?
Thanks in advance, John

採用された回答

Star Strider
Star Strider 2014 年 4 月 15 日
Two possibilities come quickly to mind:
  1. You erred in coding them (look carefully and consider prettyprint), especially since it counts 29 variables and you mention there should be 30,
  2. The Symbolic Math Toolbox is simplifying them and eliminating some equations, so your simplifying them first could provide information.
Beyond that I have no idea.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSystems of Nonlinear Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by