how can i solve this polynomial equation?

3 次查看(过去 30 天)
clear all clc; syms x A=[x 2 1;1 0 -x;5 1 x]; det(A) r=solve('det(A)==0','x')

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2014-6-4
编辑:Azzi Abdelmalek 2014-6-4
syms x
A=[x 2 1;1 0 -x;5 1 x]
r=double(solve(det(A),x))

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Calculus 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by