Program code for convolution

回答(2 个)

u = [1 2 3 1]; v = [2 3];
conv(u, v)
ans = 1×5
2 7 12 11 3
% filter(u, 1, v)
Walter Roberson
Walter Roberson 2022-8-3

0 个投票

nlfilter() a function that converts to double, does element-wise multiplication, and sums.

类别

帮助中心File Exchange 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by