Hallo,
I have this problem, I take measure from a machine giving the following input: star vol, stop volt, step size, number of points. What i recive from the machine are two arrays like: (after using built array and turned row to column):
//startvolt= 0, stop volt=3, step size=1, number of points= 3//
Voltage Current
0 84
1 85
2 86
3 87
0 90
1 91
2 92
3 93
0 100
1 101
2 102
3 103
I want to cut the columns (or the rows as u prefer) when the voltage reach again the starting value and and obtain something like:
Voltage current1 current2 current3
0 84 90 100
1 85 91 101
... ... ... ...
I can easily delete from the voltage array the values but for the current i don't know what to do.
My idea is to do a for loop where number of loops = number of points, where i put "subset of array" vi giving in input the length (Stop-start)/step, the index is (i * ((stop-start)/step))+1 but I don't know how to collect the subset of array every loop and then put them in different column.
Thank you very much
pesce