Help needed,extracting min/max values of HUGE lists.

exponentgr's icon

Hello.
I have some lists with 2 columns and almost 40000 lines of data.I would like to make a sequence that will read all those numbers from each column and then send the minimum and maximum values of each column into an object box in which i will later on scale them.
I will provide one of the lists,if anyone wants to make a question plz do,I am willing to help you as much as I can
in order to solve this!
Thank you in advance!

pi031299.007.txt
txt
sepulcky's icon

Hi!

You can dump your file, watch for the streams of numbers and determine minimum and maximum values with [minimum] and [maximum] objects. You can store intermediate results of those objects in [f ] object and bang them when the dump is finishes.

Check out the patch bellow.

Best,
OSCII

Max Patch
Copy patch and select New From Clipboard in Max.

UPD: Fixed issue in the first patch. A feedback to the [minimum] and [maximum] objects added.

Jesse's icon
Max Patch
Copy patch and select New From Clipboard in Max.
exponentgr's icon

Thnx a lot for the help guys! I will go through the patches and if anything comes up i will reply for further questions-info!