Find the sum of all the numbers of the input vector x.
Examples:
Input x = [1 2 3 5] Output y is 11
Input x = [42 -1] Output y is 41
1 player likes this solution
1 player likes this solution
1 player likes this solution
1 player likes this solution
1 player likes this solution
2 players like this solution
2 players like this solution
1 player likes this solution
2 players like this solution
1 player likes this solution
1 player likes this solution
1 player likes this solution
2 players like this solution
11 players like this solution
1 player likes this solution
3 players like this solution
Tags
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply Today
44 players like this problem
44 players like this problem