Need helpt o create convolution with two finite-length arrays, x and h, reutrning array, y
1 view (last 30 days)
Show older comments
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 Comment
Answers (0)
See Also
Categories
Find more on Cluster Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!