MATLAB: Hello! I need some help regarding a project

diracinfmatlab functionsymsum

Best Answer

You have to declare ‘k’ and ‘t’ in your syms statement:
syms k t
S(t) = symsum(((-1)^k)*dirac(t-k*25), k, -Inf, Inf);
test = sym(0:25);
rez = vpa(S(test))
I leave the rest to you.
Related Question