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

回答(0 个)

类别

帮助中心File Exchange 中查找有关 MATLAB 的更多信息

提问:

2016-1-27

Community Treasure Hunt

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

Start Hunting!

Translated by