<< moc_columns Matlab/Octave Compatibility toolbox moc_conv2 >>

Matlab/Octave Compatibility toolbox >> Matlab/Octave Compatibility toolbox > moc_conv

moc_conv

Convolve two vectors.

Calling Sequence

y = nan_conv (a,b)
y = nan_conv (a, b) returns a vector of length equal to length (a) + length (b) - 1

Description

If a and b are polynomial coefficient vectors, conv returns the coefficients of the product polynomial.

Examples

u = [1   2   3   4]
v = [10   20   30]
c = nan_conv(u,v)

Authors


Report an issue
<< moc_columns Matlab/Octave Compatibility toolbox moc_conv2 >>