Simple Discrete Signal Shifting

1 view (last 30 days)
nazmul islam
nazmul islam on 30 Jan 2017
Answered: Star Strider on 30 Jan 2017
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).

Answers (1)

Star Strider
Star Strider on 30 Jan 2017
See if the circshift function does what you want.

Categories

Find more on Applications in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!