matlab解一元三次方程,可以用roots()函数求得。
>>p=[0.016 -0.032 0.016886 -0.00177];
>>x=roots(p)
运行结果
x = 1.1932; 0.66798; 0.13879