how can i solve this polynomial equation?
1 view (last 30 days)
Show older comments
clear all clc; syms x A=[x 2 1;1 0 -x;5 1 x]; det(A) r=solve('det(A)==0','x')
0 Comments
Accepted Answer
Azzi Abdelmalek
on 4 Jun 2014
Edited: Azzi Abdelmalek
on 4 Jun 2014
syms x
A=[x 2 1;1 0 -x;5 1 x]
r=double(solve(det(A),x))
More Answers (0)
See Also
Categories
Find more on Symbolic Math Toolbox 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!