how i can use roots in matlab

조회 수: 8 (최근 30일)
ays ays
ays ays 2019년 7월 2일
댓글: ays ays 2019년 7월 2일
i need help to use roots function in matlab i have this
7x^4+5x^3=-4x-5
and i need to do it with the roots anyone can helpe me ?
  댓글 수: 3
Torsten
Torsten 2019년 7월 2일
편집: Torsten 2019년 7월 2일
Hint:
7x^4 + 5x^3 = -4x - 5
<->
7x^4 + 5x^3 + 0x^2 + 4x + 5 = 0
ays ays
ays ays 2019년 7월 2일
thx :)

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

채택된 답변

Stephan
Stephan 2019년 7월 2일
편집: Stephan 2019년 7월 2일
RHS has to be zero, then put the coefficients in descending order into a vector - read here:
p = [7 5 0 4 5]
result = roots(p)

추가 답변 (0개)

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by