Hi to everyone,
I have a problem.
Starting from 2 arrays I would like to split one based on the values of the second one.
Ex. A= [ 1 2 3 4 5 6 7 8 9 10] B = [ 3 8 ]
Result arrays wanted: C = [ 1 2 3] D= [ 4 5 6 7 8] E=[ 9 10 ]
The lengths of the two array are variable.
Do you have any suggestions?
Thank you so much in advance.
Rebecca