Problem 44483. Separate even from odd numbers in a vector - without loops
Solution Stats
Problem Comments
-
1 Comment
Hello, Shaul Salomon. I suggest testing for an empty return variable w, rather than requiring w = [], which is not the same thing. See Solution 1538012, which produces a 0×1 empty column vector. —DIV
Problem Recent Solvers380
Suggested Problems
-
Sum all integers from 1 to 2^n
11063 Solvers
-
Back to basics 21 - Matrix replicating
1182 Solvers
-
Matrix indexing with two vectors of indices
587 Solvers
-
345 Solvers
-
Find out sum of all elements of given Matrix
407 Solvers
More from this Author25
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!