使用fsolve函数解方程组,如何限制解的范围。

各位大佬你们好,最近在使用fsolve函数解非线性方程组(含有三角函数),我的要求只要求出近似解就好(误差在1左右),但是求出的解与实际的数学模型不符合,请问是否可以限制解的范围呢?如果可以,应该怎么写代码?
谢谢各位大佬解答!!

Answers (0)

Asked:

on 21 May 2023

Community Treasure Hunt

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

Start Hunting!