how can Matlab's filter() function generate the output y[n] when the input is given by the plot in the image with input long enough to see all the non-zero values of y[n].
조회 수: 1 (최근 30일)
이전 댓글 표시
댓글 수: 2
Walter Roberson
2023년 10월 16일
You can read off the signal input values... but in order to work with filter() you need to know the filter coefficients.
답변 (1개)
Walter Roberson
2023년 10월 16일
편집: Walter Roberson
2023년 10월 17일
Since no constraints are given on what the output signal should look like, you might as well make the output be exactly the same as the input.
x = [1 4 3 2 3]
subplot(2,1,1); stem(x); title('input signal')
y = filter(1,1,x)
subplot(2,1,2); stem(y); title('output signal')
댓글 수: 6
Paul
2023년 10월 17일
What does that notation for h2[n] mean? I'm not familiar with that brace-and-arrow ...
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!