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

Learn moreOpportunities for recent engineering grads.

Apply TodayRohan Kale received Commenter badge for Problem 3. Find the sum of all the numbers of the input vector

on 16 Jun 2012

Rohan Kale submitted a Comment to Problem 3. Find the sum of all the numbers of the input vector

Firstly you'd need to vectorize the elements as in suppose x is 3x3 or any size mxp, let y=x(:); now you can find the sum by employing the function sum,i.e,sum(y);

on 16 Jun 2012