How to make a code using flip & slide method and without using conv function ?
이전 댓글 표시
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
KALYAN ACHARJYA
2019년 8월 3일
There are numerous answers on this question, see here
madhan ravi
2019년 8월 3일
Why not conv() ?
madhan ravi
2019년 8월 4일
Why do you keep editing the question multiple times without responding to any of the comments or answers??
argyn ramz
2019년 8월 4일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Bartlett에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!