fsolve to solve 5th order polynomial
조회 수: 10 (최근 30일)
이전 댓글 표시
I would like to solve the following polynomial numerically for r: 

I am trying to use fzero as follows:
r= (5/(r^2*9))- ((2)/(9*(6-r)^2))
x0 = 10; % some initial point
x = fzero(r,x0)
How can this be solved using fzero?
댓글 수: 0
채택된 답변
추가 답변 (1개)
Walter Roberson
2019년 12월 14일
You have an equation of the form A=B. Subtract B from both sides giving an equation of the form (A) - (B) = 0. Now you can fsolve
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Nonlinear Optimization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!