How to find the roots of a sum of divisions of polynomials
조회 수: 4 (최근 30일)
이전 댓글 표시
How can I find those x values in which this function becomes f(x)=0?
I have 4 vectors of length N: A, B, C, D, and
f(x) = sum( ( x*A_i - B_i ) / ((x*C_i - D_i)^3) )
댓글 수: 0
채택된 답변
Torsten
2019년 8월 1일
편집: Torsten
2019년 8월 1일
Multiply by
prod (x*C_i - D_i)^3
and determine the roots of the resulting polynomial of degree 3*(N-1)+1 using the "roots" command.
You might want to use symbolic computations in advance using expand, collect, and subst to get the numerical coefficients of this polynomial.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Polynomials에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!