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 comments
Loading...
Problem Recent Solvers145
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6811 Solvers
-
297 Solvers
-
Sum the 'edge' values of a matrix
404 Solvers
-
Element by element multiplication of two vectors
399 Solvers
-
957 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!