MATLAB: Double sum of this formula

double summationMATLAB

Hello
I need help about this formula:
_{E_n}=\sum_{k=1}^{n}\left ( _{d_k} \sum_{l=0}^{1-k}_{K_l}*{sin^{2l}{b_n_-_1}}\right )
Values of K0 and b0 are known
Thanks

Best Answer

Just verify once if this is the formula that you needed. You would have to define K, b and n beforehand.
symsum((d(k).*symsum((K(l)*((sin(b(n-1))).^(2.*l))),l,0,(1-k))),k,1,n)