The following code is implemented with the assumption of C and L to be 1 as they are constants and it works fine and plots the graph of y.
t=linspace(-pi*10^-3,pi*10^-3);
syms k
y = symsum((1/pi * 1i * 1000 * sin(pi*k/2))/(1 + 1i*1000*k + (1i*1000*k).^2) * exp(1i*k*1000*t),k,-99,99)
plot(t,y)