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

5 次查看(过去 30 天)
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?

采纳的回答

Nishant Gupta
Nishant Gupta 2020-5-28
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]

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Function Creation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by