conv2
Compute 2D convolution.
Syntax
R = conv2(x,y)
R = conv2(col,row,m)
R = conv2(...,shape)
Inputs
- x,y
- Matrices to be convolved.
- col,row
- Vectors to convolve with m.
- m
- Matrix to convolve with row and col.
- shape
- Options include:
Outputs
- R
- The convolution of the inputs.
Example
R = conv2([2,5,7,8,3,3,7,32,67,8,3,-763],[2,9,0,8,6],[6,8,3;9,0,5],'same')
R = [Matrix] 2 x 3
576 876 862
2566 3219 3578