Question: MATLAB MATLAB Write a function splitem that will receive one vector of numbers as an input argument, and will return two vectors: one with the

MATLABMATLABMATLAB Write a function "splitem" that will receive one vector of numbersMATLAB

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

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!