Simple Discrete Signal Shifting

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).

Réponses (1)

Star Strider
Star Strider le 30 Jan 2017

0 votes

See if the circshift function does what you want.

Catégories

En savoir plus sur Signal Processing Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by