Problem 47290. Add 2 Vectors
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
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers111
Suggested Problems
-
Which values occur exactly three times?
5160 Solvers
-
6774 Solvers
-
Back to basics 22 - Rotate a matrix
921 Solvers
-
1131 Solvers
-
Sum the 'edge' values of a matrix
363 Solvers
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!