%% Sinc experiments
clear; close all;

fs = 10;
Ts = 1/fs;

t = -1:1/1000:1;

plot(t, sinc(t/Ts))
hold on

n = length(-1:Ts:1);
nTs = -1:Ts:1;
plot(nTs, sinc(nTs/Ts), 'ro')



grid on


plot(t, cos(pi*t/Ts))

plot(t, sinc(t/Ts).*cos(pi*t/Ts))
