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 Solvers172
Suggested Problems
-
Getting the indices from a vector
12444 Solvers
-
579 Solvers
-
Replace multiples of 5 with NaN
472 Solvers
-
Matlab Basics II - Extract last 3 elements of a vector
264 Solvers
-
276 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!