Solving complex nonpolynomial equation and find all complex roots

I am trying to solve a nonpolynomial equation like z^n*exp(a*(1-z))+a_0z^0+a_1z^1+...+a_nz^n=0. z is within or on the unit circle in complex plane. When using the solve(eqn,var) function, it only returns one numeric solution. Actually, the above equation will have n roots in z<=1. I checked the feature of "solve" function:"The numeric solver does not try to find all numeric solutions for this equation. Instead, it returns only the first solution it finds."
Can anyone help me solve all n roots of complex nonpolynomial equations?

댓글 수: 4

In the exp(a*(1-z)) part, is that a vector a like in the a_* part? So that each a_k would occur twice in the sum, once multiplied by z^k and once z^n*exp(a_k*(1-z)) ?
Hi Walter, the variable 'a' in the exponential term is not a vector. The solve function has no problem solving z^n*exp(a*(1-z))=1 (lambert W function helps). However, when the rhs is replaced by a polynomial term it is somehow unsolvable.
The coefficients that I tested with had more than n roots for this, even if you filtered down to abs(z) <= 1 . The exp() term introduces the possibility of two values (possibly related by LambertW in theory) modifying the normal n roots you would expect for order n.
Is there a specific limited range for the a_[i] coefficients?

댓글을 달려면 로그인하십시오.

답변 (1개)

Massimo Zanetti
Massimo Zanetti 2016년 10월 3일

3 개 추천

To find all solutions you need global solvers, but they don't exist.. One thing that you can do is trying to initialize fsolve with different guesses, so that at least you can try to find some different solutions. Suggestion: try to start the solver with points equally spaced on the unit circle boundary.

카테고리

도움말 센터File Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

질문:

2016년 10월 2일

편집:

2018년 10월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by