Hi, i need to write a sum of serie :
with b_k= (k+1)^2-(k)^2 and u^(m-k) is the numerical solution approximation u(x,t_m-k) for k=1,…m-1 and m=1,….,20
for m=1:20syms k ub(k)=(k+1)^2-k^2;F=symsum((b(k)-b(k+1))*u(:,m-k),k,1,m-1)endF
but i get error
Necessary I need u(:,m-k)
Please help me
Best Answer