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 Solvers142
Suggested Problems
-
Change the sign of even index entries of the reversed vector
638 Solvers
-
07 - Common functions and indexing 5
428 Solvers
-
16365 Solvers
-
Back to basics - mean of corner elements of a matrix
459 Solvers
-
Matrix of almost all zeros, except for main diagonal
190 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.