for e.g
in: a = [1 2 3]
b = [4 5 6]
out:
y = [4 13 28 27 18]
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers145
Suggested Problems
-
Back to basics 21 - Matrix replicating
1831 Solvers
-
Matrix indexing with two vectors of indices
785 Solvers
-
Vector of numbers divisible by 3
154 Solvers
-
Number of odd and even elements within matrix
162 Solvers
-
Find the position of first minimum value in an integer array with numbers
185 Solvers
More from this Author8
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Could please change your test case function to accept two input parameters?
I fixed the test suite so the number of parameters is correct.