Problem using MATLAB fsolve function
2 次查看(过去 30 天)
显示 更早的评论
I'm trying to get the solution of the following two non-linear simultaneous equations in two variables ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/496983/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/496983/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/496988/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/496993/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/496998/image.png)
Values of the parameters have been initialized within the code.
Problem: I’m getting the following warning while executing the code. Also, I’m getting solution same as the initial values of t0t0 and xTxT.
Warning: Trust-region-dogleg algorithm of FSOLVE cannot handle non-square systems; using Levenberg-Marquardt algorithm instead.
> In fsolve (line 316)
In EstimatexTt0 (line 5)
In Estimate (line 9)
Equation solved at initial point.
fsolve completed because the vector of function values at the initial
point is near zero as measured by the value of the function tolerance,
and the problem appears regular as measured by the gradient.
<stopping criteria details>
>>
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!