Program code for convolution

2 visualizaciones (últimos 30 días)
gosukula Sridhar
gosukula Sridhar el 3 de Ag. de 2022
Respondida: Walter Roberson el 3 de Ag. de 2022
I want program for convolution

Respuestas (2)

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by