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

Risposte (0)

Categorie

Scopri di più su MATLAB in Centro assistenza e File Exchange

Richiesto:

il 27 Gen 2016

Community Treasure Hunt

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

Start Hunting!

Translated by