MATLAB: I have to calculate the sum of multiple coefficients which depends upon the value ‘m’.

summation

Could you please tell me how should I approach to this?

Best Answer

Look at this example
y=@(m) sin(m)
out=sum(y(1:10)) % for m=10