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 (2020). Polynomial Value (https://www.mathworks.com/matlabcentral/fileexchange/71594-polynomial-value), MATLAB Central File Exchange. Retrieved .