Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB 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

12526 correct solutions 5790 incorrect solutions
Last solution submitted on Feb 07, 2016

Problem Comments

Solution Comments