warning when solving nonlinear equations with 'solve'

4 vues (au cours des 30 derniers jours)
John
John le 15 Avr 2014
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

Réponse acceptée

Star Strider
Star Strider le 15 Avr 2014
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.

Plus de réponses (0)

Catégories

En savoir plus sur Systems of Nonlinear Equations dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by