Finding roots of the polynomial.
4 views (last 30 days)
Show older comments
using roots command.
0 Comments
Answers (1)
Jothi
on 13 Aug 2022
p=[3 -2 -4]
p =
3 -2 -4
>> r = roots(p)
r =
1.5352
-0.8685
>> p = [1 0 0 0 -1]
p =
1 0 0 0 -1
>> r = roots(p)
r =
-1.0000 + 0.0000i
0.0000 + 1.0000i
0.0000 - 1.0000i
1.0000 + 0.0000i
0 Comments
See Also
Categories
Find more on Polynomials in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!