Need helpt o create convolution with two finite-length arrays, x and h, reutrning array, y
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Please help!!
Using a second convolution function in Matlab that basically implements a real time convolution sstrategy:
function y= con_rt(x, h)
%% Real-time Convolution
% Real-time convolution #1
x = [1 4 2 6 5];
h = [4 -1 3 -5 2];
testlab2a;
testlab2a(x, h);
% Real-time convolution convolution #2
testlab2a(h, x);
% Real-time convolution #3
x = cos(2 * pi * (1:50000) / 16); % nice, big sequence
h = ones(1, 10);
testlab2a(x, h);
1 comentario
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!