Adding Polynomials
Add two polynomials given as vectors.
polyadd(p, q)
p, q |
Vectors representing two polynomials. |
Polynomial addition realized simply by multiplying and summing up all the coefficients after extending vectors to the same length.
Vector representing a polynomial.
There is no such function in Matlab or Octave.
polyadd(c(1, 1, 1), 1) polyadd(c(1, 1, 1), c(0, 0, 1)) polyadd(c(-0.5, 1, -1), c(0.5, 0, 1))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.