Fast Matrix Column-wise/Row-wise Convolution

See Description.

You are now following this Submission

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

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Rewrite the description.

1.0.0.0