| NGMV Control Toolbox | ![]() |
Continuous-time polynomial addition
Syntax
Description
Y = add(X1,X2,...,Xi) finds the sum Y of a number of continuous-time polynomials represented by vectors of coefficients. The shorter vectors are completed with leading zeros and then the ordinary vector addition is performed.
Example
p = [1 2]; q = [3 4 0];
r = add(p,q)
r =
3 5 2
See Also
|
Functions -- Alphabetical List | addz | ![]() |