Skip to content
This repository was archived by the owner on May 21, 2020. It is now read-only.
Florian Rappl edited this page Dec 21, 2014 · 2 revisions

convn

In mathematics and, in particular, functional analysis, convolution is a mathematical operation on two functions f and g, producing a third function that is typically viewed as a modified version of one of the original functions, giving the area overlap between the two functions as a function of the amount that one of the original functions is translated. Convolution is similar to cross-correlation.

References

convn(A,B)

Performs the convolution of two vextors of data, A and B. The result has the length length(A) + length(B) - 1.

Argument A

Matrix

Argument B

Matrix

Returns 1. entry

Matrix

Example

convn([0,0,5,5,0,0], [0,0,3,3,0,0])

The convolution of two rectangle signals is a triangle signal.

Clone this wiki locally