find the roots of the equations x^5-3x^4+6x^2-5x+1=0 in matlab
main.m
% Coefficients of the polynomial equationcoefficients = [1, -3, 0, 6, -5, 1];
% Finding the roots of the polynomial equationroots_of_equation = roots(coefficients);
disp(roots_of_equation);