MATLAB: Need help in to write a matlab script

matlab script

how do you write a matlab script to calculate the Sum for the expression?

Best Answer

n = 10; % assuming it to be 10
x = 0;
for i = 1 : n
x = ((1/i) + (1/(i+2)*(i+3))) + x;
end