Given a randomized array n, sort it and remove all odd integers.
n=5
y = [2 4]
Why do you pass n in your function (and not x) ?
Agree with above. According to the description you are given the randomized array.
This solution should be wrong, at least according to the description.
582 Solvers
204 Solvers
Given a 4x4 matrix, swap the two middle columns
299 Solvers
Flip the vector from right to left
742 Solvers
Matlab Basics - Pick out parts of a vector
147 Solvers