find all zeros
显示 更早的评论
回答(3 个)
Honglei Chen
2012-4-26
You can use roots, for example for x^2-1=0
roots([1 0 -1])
Andrei Bobrov
2012-4-26
roots([21 0 1 0])
Walter Roberson
2012-4-26
0 个投票
(But Please note the code error I point out in my response.)
类别
在 帮助中心 和 File Exchange 中查找有关 Multicore Processor Targets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!