How to set an upper bound for the solution obtained using vpasolve?

5 vues (au cours des 30 derniers jours)
I am new to MATLAB and I am using vpasolve to obtain values of 3 unknown parameters. However, I need to make sure that one parameter should stay below a certain value. How do I impose that?
  2 commentaires
darova
darova le 25 Mai 2020
DId you try to change initial guess?

Connectez-vous pour commenter.

Réponse acceptée

Nishant Gupta
Nishant Gupta le 28 Mai 2020
You can specify the range of solutions in vpasolve function as following:
S = vpasolve(x^6 - x^2 == 3, x, [0 2])
In this case, only those solutions will be returned as output which are lying in the range [0,2]

Plus de réponses (0)

Catégories

En savoir plus sur Simulink 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