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

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)

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.

Categories

Find more on Signal Processing Toolbox in Help Center and File Exchange

Asked:

on 19 Oct 2017

Answered:

on 19 Oct 2017

Community Treasure Hunt

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

Start Hunting!