05-23-2024 01:56 PM
How to sort the max value of the Realtime sort, because the array is dynamical.
My Idea is in the attach.
05-23-2024 03:17 PM
There is a function Array Max/min
05-23-2024 03:18 PM
I know but the problem is the data is realtime
05-23-2024 03:22 PM - edited 05-23-2024 03:30 PM
I would start with the learning resources listed at the top of the forum, because your code makes very little sense.
Here's a quick simulation:
or even:
If you want to keep track of the global max, that would be easy too. (there is also a ptbypt function for same)
05-23-2024 03:44 PM - edited 05-23-2024 03:44 PM
Is that right?
05-24-2024 01:01 AM