i am confused as to what type of signal this is when the matlab code is written.
here's ,my code, the variables are linked.
input = xx;
T = 2001;
N = length(t);
freq = abs(fft(input))*2/N;
f = (0:N-1)'/T;
plot(input, 'b*-'); % Plot the input as a blue line