Manages to do what i said and got rid of the error, the function now plots and the notation is a bit messy, but everything works.
%turning values n=1:10 to conjugates for i=-1:-10
cc=conj(c);
%series addition for k=-10:10
k=1:10
s=@(t) c0+(sum(c(k).*exp(1j*k*w*t))+(sum(cc(k).*exp(1j*-1*k*w*t))));
fplot(s,[-pi,pi])
However, i still get the Warning: Function behaves unexpectedly on array inputs. and any advice on how to fix this to make it work properly would be appreciated. Thank you

