I am suppose to verify the time shifting property of DTFT, by letting x(n) = random sequence uniformly distributed between [0,1] over 0 <= n <= 20 and y(n) = x(n-2). Following is my code, however the plot did not shift by delay of 2. Can anyone help to rectify? Thank you.
clc, clear all, close all;