Matlab - Exercise 17

Write a function splitem that will receive one vector of numbers as an input argument and will return two vectors: one with the positive (>=0) numbers from the original vector, and the second, the negative numbers from the original vector. Use vectorized code (no loops) in your function.



For more details, please contact me here.