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 Solvers144
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15782 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
559 Solvers
-
Make a run-length companion vector
657 Solvers
-
792 Solvers
-
523 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.