MATLAB: Summation

not enough detailssummation

If I want to plot a function with summation, what should I do? The function is like
y = (1/0.5*x*(x-1))*summation(dij)

Best Answer

sum() does summation.
I cannot tell from from example exactly what you are trying to sum.