how do you write a matlab script to calculate the Sum for the expression?
No products are associated with this question.
Direct link to this answer:
n = 10; % assuming it to be 10
x = 0;
for i = 1 : n
x = ((1/i) + (1/(i+2)*(i+3))) + x;
ix = 1:n;
s = sum(1./ix+1./((ix+2).*(ix+3)));
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
New to MATLAB?
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries