Program code for convolution

4 次查看(过去 30 天)
gosukula Sridhar
gosukula Sridhar2022-8-3
I want program for convolution

回答(2 个)

Chunru
Chunru 2022-8-3
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
nlfilter() a function that converts to double, does element-wise multiplication, and sums.

标签

Community Treasure Hunt

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

Start Hunting!

Translated by