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 ExchangeMulticore 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