warning when solving nonlinear equations with 'solve'

조회 수: 9 (최근 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 CenterFile Exchange에서 Systems of Nonlinear Equations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by