The only error message is"??? Undefined command/function 'circle'."
clear; close all; clc; N=20; m=10; n=0:1:N-1; x=8*(0.4).^n; n1=mod((n+m),N); xm=x(n1+1); subplot(2,1,1); stem(n,x); title('original squence'); xlabel('n'); ylabel('x(n)'); subplot(2,1,2); stem(n,xm); title('circular shift squence'); xlabel('n'); ylabel('x((n+10))mod20');
Best Answer