Add 2 Vectors - MATLAB Cody - MATLAB Central

Problem 47290. Add 2 Vectors

Difficulty:Rate
Make a function add(A,B)
such that C = add(A,B) will return a third vector C where each term of C is equal to addition of term equivalent to A and B
ex- A = [1 2 3]
B = [2 6 7]
then, C = [3 8 10]

Solution Stats

66.07% Correct | 33.93% Incorrect
Last Solution submitted on Dec 12, 2024

Problem Comments

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
12
4

Problem Recent Solvers105

Suggested Problems

More from this Author40

Problem Tags

Community Treasure Hunt

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

Start Hunting!
Go to top of page