First: the shifting procedure is correct.
Second, the error lies in calling y=seqshift(x, n, 3) to return quantity selection, and calling stem(n, x) to select wrong horizontal and vertical scalars.
Revise as follows:
Initial sequence of% allocation
n = 0:9;
x 1 =);
Title ('x (n)');
% painting shift sequence
);
Title ('x (n-3)');
If the internet speed is not strong, the picture is not sticky. Run by yourself.
Please contact qq8 1446867 1 for details.