DFT circular shifting property

n=0:10
x=10*(0.8).^n
stem(n, x) ; grid;
title('Original Sequence')
xlabel('n') ;
Dear all, i would like to create a code that can produce the output as shown above. However i am unable to create n=15 when i use 'stem(15, x) ' error came out Error using stem (line 31) X must be same length as Y.
Error in Untitled (line 3) stem(15, x) ; grid;
please assist

Réponses (0)

Catégories

En savoir plus sur MATLAB 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