Effacer les filtres
Effacer les filtres

Match multiple systems of equations into a single fsolve call

1 vue (au cours des 30 derniers jours)
Francesco Ardia
Francesco Ardia le 21 Avr 2017
Hi everyone! So far I've been using fsolve to solve a single system of equations at a time, with the syntax:
sol=fsolve(@(Z) myfun(Z,alotofparameters))
which works fine. Now I have different sets of equations stored in various functions myfun1(Z1,alotofparameters1), myfun2(Z2,alotofparameters2), etc. and I want to solve all of them at the same time. Is there a way to do so without manually copying all of the equations into a new function? Thanks for your help!

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