필터 지우기
필터 지우기

i need to find the roots of the polynomial

조회 수: 1 (최근 30일)
ahmed allaheani
ahmed allaheani 2017년 11월 14일
댓글: Walter Roberson 2017년 11월 14일
>> p=[1 8 22 24 9];
>> roots(p)
  • for some reason i get this error message*
Error in roots (line 32)
r = zeros(0,1,class(c));
can anyone help please????
  댓글 수: 1
Walter Roberson
Walter Roberson 2017년 11월 14일
Please show the complete error message. Also please show
which roots

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

채택된 답변

Andrei Bobrov
Andrei Bobrov 2017년 11월 14일
in my MATLAB:
>> format longg
>> p=[1 8 22 24 9];
roots(p)
ans =
-3.00000009061347 + 0i
-2.99999990938653 + 0i
-1 + 6.12790365933349e-09i
-1 - 6.12790365933349e-09i
>>

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Polynomials에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by