Cody

Rohan Kale

1476
Rank
3
Badges
480
Score

Activities

51 – 52 of 52

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

51 – 52 of 52