MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by Sg dg
on 29 Dec 2012

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

http://s188.beta.photobucket.com/user/raneses88/media/untitled-1_zpscb940cb6.jpg.html?sort=3&o=0

*No products are associated with this question.*

Answer by Sabarinathan Vadivelu
on 29 Dec 2012

Accepted answer

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

## 0 Comments