find all zeros

답변 (3개)

Honglei Chen
Honglei Chen 2012년 4월 26일

0 개 추천

You can use roots, for example for x^2-1=0
roots([1 0 -1])
Andrei Bobrov
Andrei Bobrov 2012년 4월 26일

0 개 추천

roots([21 0 1 0])
Walter Roberson
Walter Roberson 2012년 4월 26일

0 개 추천

(But Please note the code error I point out in my response.)

카테고리

도움말 센터File Exchange에서 Multicore Processor Targets에 대해 자세히 알아보기

태그

질문:

2012년 4월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by