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
-
Arrange Vector in descending order
14107 Solvers
-
Remove the two elements next to NaN value
714 Solvers
-
Given a window, how many subsets of a vector sum positive
873 Solvers
-
Matlab Basics II - Max & Index of Max
266 Solvers
-
Sum the squares of numbers from 1 to n
261 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.