필터 지우기
필터 지우기

How can i find the roots of the complex equation?

조회 수: 1 (최근 30일)
Sahil Wani
Sahil Wani 2023년 6월 19일
편집: Torsten 2023년 6월 19일
I need to find the root of the following equation in matlab. Can can anyone help me to find the z values.
root(z^8 + (10548593400*z^6)/42679 + (33343133111071335000*z^4)/1821497041 + (211014867341025000000*z^2)/554827 - 142793543857500000000000000/10778089, z, 1)

답변 (1개)

Torsten
Torsten 2023년 6월 19일
편집: Torsten 2023년 6월 19일
You can get an analytical solution if you substitute y = z^2:
syms y
p = y^4 + (10548593400*y^3)/42679 + (33343133111071335000*y^2)/1821497041 + (211014867341025000000*y)/554827 - 142793543857500000000000000/10778089;
ysol = solve(p,y,'MaxDegree',4);
zsol = [sqrt(ysol),-sqrt(ysol)];
double(zsol)
ans =
1.0e+02 * 0.0000 + 3.7607i 0.0000 - 3.7607i 1.3098 + 0.0000i -1.3098 + 0.0000i 0.7889 - 2.6013i -0.7889 + 2.6013i 0.7889 + 2.6013i -0.7889 - 2.6013i
syms z
sol = roots(sym2poly(z^8 + (10548593400*z^6)/42679 + (33343133111071335000*z^4)/1821497041 + (211014867341025000000*z^2)/554827 - 142793543857500000000000000/10778089))
sol =
1.0e+02 * 0.0000 + 3.7607i 0.0000 - 3.7607i 0.7889 + 2.6013i 0.7889 - 2.6013i -0.7889 + 2.6013i -0.7889 - 2.6013i -1.3098 + 0.0000i 1.3098 + 0.0000i

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by