See if the circshift function does what you want.
Simple Discrete Signal Shifting
2 次查看(过去 30 天)
显示 更早的评论
x (n) =[1, 2, 3, 4,5,6,7,6,5, 4,3, 2,1]. The Italic Digit (i.e. 3) represents n=0 value.
Now, plot the following sequence x1[n]=2x(n-5)-3x(n+4).
Please, if possible, write me the simple code for the above sequence both by using & not using the function(e.g. for signal shifting and addition). N.B. Is there any function called sigshift that can be used here? If yes, Note that sigshift isn't working in my MATLAB (R2010a).
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!