Problem 44483. Separate even from odd numbers in a vector - without loops
27.23% Correct | 72.77% Incorrect
Last Solution submitted on Feb 21, 2023
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
Solution CommentsShow comments
Problem Recent Solvers385
Which values occur exactly three times?
Set some matrix elements to zero
What is Sum Of all elements of Matrix
Matlab Basics - Convert a row vector to a column vector
More from this Author25
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!