Clear Filters
Clear Filters

Where can I find the source code of conv() function in matlab?

6 views (last 30 days)
I am a bit confused on how the convolution of two signals is carried out. I want to check and understand the code of conv function in matlab in order to understand the steps of convolution.

Answers (1)

OCDER
OCDER on 19 Oct 2017
conv.m uses conv2, which is a built-in matlab function and the source code is not available. https://www.mathworks.com/matlabcentral/answers/281612-anyone-know-where-i-can-find-the-source-code-for-conv2-m
To learn about convolution, search for "convolution algorithm" in the web. Some people provide the source code in C++, which is probably what conv2 is written in to run at compiled speeds.

Community Treasure Hunt

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

Start Hunting!