HandleOfMe
Programmer
Ok, here is a rather basic problem.
I have 2 sets of data, each containing 1000 floating points. I need to find 10 that changed the most, i.e.
data1[1] - data2[1] = s[1]
data1[2] - data2[2] = s[2]
etc... (repeat 1000 times)
and I need to find s[] with the 10 largest numbers.
How would you go about in doing this?
Thanks
I have 2 sets of data, each containing 1000 floating points. I need to find 10 that changed the most, i.e.
data1[1] - data2[1] = s[1]
data1[2] - data2[2] = s[2]
etc... (repeat 1000 times)
and I need to find s[] with the 10 largest numbers.
How would you go about in doing this?
Thanks