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

13 visualizaciones (últimos 30 días)
GMD Baloch
GMD Baloch el 19 de Oct. de 2017
Respondida: OCDER el 19 de Oct. de 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.

Respuestas (1)

OCDER
OCDER el 19 de Oct. de 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.

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by