Change the upper bound value to any finite number
f = symsum(an.*cos(100*n*pi*t) + bn.*sin(100*n*pi*t),n,1,100);
%.........................................................^ any
%Try fplot same as code
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!