Add two numbers - MATLAB Cody - MATLAB Central

Problem 1046. Add two numbers

Difficulty:Rate

Calculate the sum of two numbers.

Example

 input  = [2 3]
 output =  5

Solution Stats

61.32% Correct | 38.68% Incorrect
Last Solution submitted on Jun 25, 2025

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
2
3

Problem Recent Solvers1436

Suggested Problems

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!