Positive roots only for cubic eqn
조회 수: 3 (최근 30일)
이전 댓글 표시
How I get positive roots x^3 − 5x^2 − 2x + 24 = 0 Using syms x eqn=x^3 − 5x^2 − 2x + 24 ==0
댓글 수: 0
채택된 답변
madhan ravi
2020년 6월 23일
편집: madhan ravi
2020년 6월 23일
ROOTS = roots([1, -5, -2, 24]);
Wanted = ROOTS(ROOTS > 0)
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!