Program code for convolution

1 Ansicht (letzte 30 Tage)
gosukula Sridhar
gosukula Sridhar am 3 Aug. 2022
Beantwortet: Walter Roberson am 3 Aug. 2022
I want program for convolution

Antworten (2)

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

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by