Data Correlation and Covariance Data Correlation and Covariance nan_conv2

NaN Toolbox >> NaN Toolbox > Data Correlation and Covariance > nan_conv

nan_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)
c =
10     40     100     160     170     120

Authors

Data Correlation and Covariance Data Correlation and Covariance nan_conv2