The function is called like this p = poly_val(c0,c,x). where c0 and x are scalars, c is a vector, and p is a scalar that represents the value of the polynomial. For example p = c0 + c*x .
The input is the value of x and the coefficients of x which is represented by vector c and the free term C0
Ibrahim Abouemira (2021). Polynomial Value (https://www.mathworks.com/matlabcentral/fileexchange/71594-polynomial-value), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.