warning when solving nonlinear equations with 'solve'

4 visualizaciones (últimos 30 días)
John
John el 15 de Abr. de 2014
Respondida: Star Strider el 15 de Abr. de 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

Respuesta aceptada

Star Strider
Star Strider el 15 de Abr. de 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.

Más respuestas (0)

Categorías

Más información sobre Systems of Nonlinear Equations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by