Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Problem 3. Find the sum of all the numbers of the input vector

Created by Cody Team

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

Tags

Problem Group

Solution Statistics

7570 correct solutions 2585 incorrect solutions
Last solution submitted on Jul 30, 2014

Problem Comments

Solution Comments