Create and Evaluate Polynomials - MATLAB & Simulink ...
it.mathworks.com › help › matlabEvaluating Polynomials. After entering the polynomial into MATLAB® as a vector, use the polyval function to evaluate the polynomial at a specific value. Use polyval to evaluate p ( 2). polyval (p,2) ans = 153. Alternatively, you can evaluate a polynomial in a matrix sense using polyvalm. The polynomial expression in one variable, p ( x) = 4 x ...
Create and Evaluate Polynomials - MATLAB & Simulink
www.mathworks.com › help › matlabEvaluating Polynomials. After entering the polynomial into MATLAB® as a vector, use the polyval function to evaluate the polynomial at a specific value. Use polyval to evaluate p ( 2). polyval (p,2) ans = 153. Alternatively, you can evaluate a polynomial in a matrix sense using polyvalm. The polynomial expression in one variable, p ( x) = 4 x ...