How to make a code using flip & slide method and without using conv function ?
Show older comments
Example given, depends on how many user inputs: x = [userinputs]
x = [1 2 3];
h = [4 5 6];
Illustration pattern of the 5 element-by-element products (summing produces the convolution)
1 2 3
6 5 4 %first element is 4
1 2 3
6 5 4 %2nd element is 5+8
1 2 3
6 5 4 %3rd element is 6+10+12
1 2 3
6 5 4 %4th element is 12+15
1 2 3
6 5 4 %5th element is 18
4 Comments
KALYAN ACHARJYA
on 3 Aug 2019
There are numerous answers on this question, see here
madhan ravi
on 3 Aug 2019
Why not conv() ?
madhan ravi
on 4 Aug 2019
Why do you keep editing the question multiple times without responding to any of the comments or answers??
argyn ramz
on 4 Aug 2019
Accepted Answer
More Answers (0)
Categories
Find more on Bartlett in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!