>> A=[0 1 0;-4 4 0;-2 1 2]
A =
>> poly(A)
ans =
>> B=sym(A)
B =
[
[ -4, 4, 0]
[ -2, 1, 2]
>> poly(B)
ans =
x^3 - 6*x^2 + 12*x - 8
POLY Convert roots to polynomial.
>> A=[0 1 0;-4 4 0;-2 1 2]
A =
>> poly(A)
ans =
>> B=sym(A)
B =
[
[ -4, 4, 0]
[ -2, 1, 2]
>> poly(B)
ans =
x^3 - 6*x^2 + 12*x - 8
POLY Convert roots to polynomial.