Problem 44483. Separate even from odd numbers in a vector - without loops
Solution Stats
Problem Comments
-
1 Comment
David Verrelli
on 23 May 2018
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 Solvers384
Suggested Problems
-
Select every other element of a vector
27580 Solvers
-
Find the longest sequence of 1's in a binary sequence.
4985 Solvers
-
Find out missing number from a vector of 9 elements
282 Solvers
-
499 Solvers
-
Determine the length of a string of characters
227 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!