q = polyint(p, k)
q = polyint(p)
| Parameter | Description |
|---|---|
| p | vector: polynomial coefficients |
| k | numeric scalr: constant of integration |
| Parameter | Description |
|---|---|
| q | row vector: integrated polynomial coefficients |
polyint returns the integral of the polynomial represented by the coefficients in p using a constant of integration k (0 by default).
p = [10, 0, -10, 0, 0, 10];
v = [10, 0, 10];
k = 3;
q = polyint(conv(p,v),k)
| Version | Description |
|---|---|
| 1.0.0 | initial version |