How do i code y[n]?
이전 댓글 표시
y[n] = x[n] + 0.4x[n-400] + 0.4x[n-800]
답변 (1개)
Image Analyst
2021년 11월 28일
Use parentheses instead of brackets:
n = 801; % n must be at least this big.
y(n) = x(n) + 0.4 * x(n-400) + 0.4 * x(n-800);
댓글 수: 3
Image Analyst
2021년 11월 28일
If you want convolution, use conv().
Semih Erken
2021년 11월 29일
how to convolve this without conv function
Image Analyst
2021년 11월 29일
Then I guess it must be your homework assignment. If you're not allowed to use conv(), you'll have to use a for loop.
카테고리
도움말 센터 및 File Exchange에서 Correlation and Convolution에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!