find all zeros
Afficher commentaires plus anciens
f(x)=21x^3+x
Réponses (3)
Honglei Chen
le 26 Avr 2012
You can use roots, for example for x^2-1=0
roots([1 0 -1])
Andrei Bobrov
le 26 Avr 2012
roots([21 0 1 0])
Walter Roberson
le 26 Avr 2012
0 votes
(But Please note the code error I point out in my response.)
Catégories
En savoir plus sur Multicore Processor Targets dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!