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
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53444 Solvers
-
Generate N equally spaced intervals between -L and L
954 Solvers
-
Reverse the elements of an array
1136 Solvers
-
Flip the vector from right to left
11295 Solvers
-
Sum of the Multiplication of Vectors
287 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.