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 Solvers173
Suggested Problems
-
Select every other element of a vector
37618 Solvers
-
Create an index-powered vector
969 Solvers
-
Find the square of the sum of the digits of a number
161 Solvers
-
Matlab Basics - Pick out parts of a vector
275 Solvers
-
5987 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!