Plotting polynomial functions
Octave uses a vector of the coefficients in descending order to represent a polynomial function. For example, consider this function:
- y = 3x2 - 3x - 6
Polynomial functions can be plotted in an Octave script by using the polyval and plot commands.
http://hughesbennett.co.uk/PlottingPolynomialFunctions