Effacer les filtres
Effacer les filtres

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

6 vues (au cours des 30 derniers jours)
GMD Baloch
GMD Baloch le 19 Oct 2017
Réponse apportée : OCDER le 19 Oct 2017
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.

Réponses (1)

OCDER
OCDER le 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!

Translated by