You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). Fast Matrix Column-wise/Row-wise Convolution (https://in.mathworks.com/matlabcentral/fileexchange/29398-fast-matrix-column-wise-row-wise-convolution), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.1.0.0 (1.95 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
