Program code for convolution

回答 (2 件)

Chunru
Chunru 2022 年 8 月 3 日

0 投票

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.

タグ

質問済み:

2022 年 8 月 3 日

回答済み:

2022 年 8 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by