MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
New to MATLAB?
how do you write a matlab script to calculate the Sum for the expression?
No products are associated with this question.
n = 10; % assuming it to be 10
x = 0;
for i = 1 : n
x = ((1/i) + (1/(i+2)*(i+3))) + x;
Direct link to this answer:
ix = 1:n;
s = sum(1./ix+1./((ix+2).*(ix+3)));