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

6 次查看(过去 30 天)
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.

回答(1 个)

OCDER
OCDER 2017-10-19
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.

类别

Help CenterFile Exchange 中查找有关 Multirate Signal Processing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by