>> p = [1 0 1];
>> roots(p)
ans =
0.000000000000000 + 1.000000000000000i
0.000000000000000 - 1.000000000000000i