3/30/2024 0 Comments Matlab solveHowever, one can access the features of MuPAD from within Matlab. Instead, it returns only the first solution that it finds." Some equations can have an infinite number of numeric solutions (e.g., periodic equations), and thus, as per the documentation: "The numeric solver does not try to find all numeric solutions for equation. When this fails, it tries to find a numeric solution. Other solutions or suggestions for solving these problems are welcomed.Īs I indicated in my comment above, sym/solve is primarily meant to solve for analytic solutions of equations. But, I have no idea how I can generally find initial guessed values to obtain all solutions, which is my second question. I know that vpasolve with some initial guess can handle this. I am not satisfied since all solutions are not returned (they are approximately -1.5056, 1.5056, -0.5663 and 0.5663 obtained from WolframAlpha). (This is related to this question.) Moreover, when I try to solve the equation solve(fpp(x)=0,x,'Real',true) The first question: Is it possible to force Matlab's solve to return the set of all solutions?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |