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

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 27 Jan 2016

Community Treasure Hunt

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

Start Hunting!