Fast Matrix Column-wise/Row-wise Convolution

See Description.
869 Downloads
Updated 15 Nov 2010

View License

The matlab conv function doesn't provide a way to perform column-wise/row-wise convolution of matrices. Using a loop can be time-consuming. This new function performs this kind of convolution using only matrix operations and fft/ifft. The key to this implementation is the proper zero padding of input matrices. The zip file contains 2 .m files, the function and a demo.

This function computes C = fastConv(A,B,dim), where the i-th column/row of C is the convolution of the i-th column/row of A and the i-th cloumn/row of B.

Cite As

Zhen James Xiang (2024). Fast Matrix Column-wise/Row-wise Convolution (https://www.mathworks.com/matlabcentral/fileexchange/29398-fast-matrix-column-wise-row-wise-convolution), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

Rewrite the description.

1.0.0.0