How do I apply a 2D circular convolution without zero-padding in MATLAB?
Show older comments
I would like to apply the CONV2 function to two matrices A and B. However, I do not want to zero-pad one of the two matrices.
I would like to use the matrix expansion methods available with the PADARRAY function from the Image Processing Toolbox. I would like to pad one matrix with circular repetition of elements within the dimension, repeating border elements, or mirror reflections of itself.
Accepted Answer
More Answers (0)
Categories
Find more on Correlation and Convolution in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!