I am trying to perform the following tasks.
- I have a function that returns two vector as output and one of the vector must be arranged in ascending order for further computation.
- The second vector would also need to be rearranged such that each element corresponds to the other vector origal element.
[A, B] = Executeprogram(C,D);
A = 2, 5, -3, 10;
B = 3, 1, 4, 2;
Please how can I perform this tasks in MATLAB?