MATLAB: How to write sum

MATLABsigma notationsummation

How can I write this summation:
where N is simply input by the user

Best Answer

Simple !!
function Y=Summation(N)
Y=0;
for n=1:1:N
Y=Y+((n+2)/sqrt(n))+n^3;
end
end
Done !!!
Related Question