Basic question of convolution
3 ビュー (過去 30 日間)
古いコメントを表示
Hi. I solved a problem using conv .
'y[n] = x[n] * h[n] when x[n] = h[n] = [1,3,2,4]'.
Like this:
x=[1,3,2,4];
h=[1,3,2,4];
y=conv(x, h)
stem(y,'r','LineWidth', 2);
But, when the equation is y[n] = x[n-1] * h[n+1], how can I make n-1 and n+1??
0 件のコメント
採用された回答
その他の回答 (1 件)
AB WAHEED LONE
2021 年 4 月 17 日
編集済み: AB WAHEED LONE
2021 年 4 月 17 日
Look Convolution for discrete case is defined as y[n]=Σ(x[k]*h[n-k])
so y[n-1]=Σ(x[k]*h[n-1-k]) and y[n+1]=Σ(x[k]*h[n+1-k])
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!