??? 05/13/08 21:38 Read: times Msg Score: +1 +1 Informative |
#154742 - Sort and Search? Responding to: ???'s previous message |
There are are many sorting algorithms
First you need some details. How many elements? what kind? do you want to sort in the same array or copy to a new one. The simplest is the "bubble sort". The better faster sorts may not matter is you only have a few items. Note: if you are reading A/D and want to sort the array as you go there is the "insertion sort". |
Topic | Author | Date |
Sort array data elements? | 01/01/70 00:00 | |
Sort and Search? | 01/01/70 00:00 | |
Neil..... | 01/01/70 00:00 | |
64 samples is big for a median filter ... | 01/01/70 00:00 | |
No I haven't.....only because | 01/01/70 00:00 | |
Google for "sorting algorithms" | 01/01/70 00:00 | |
Ok, first things first then. | 01/01/70 00:00 | |
The MPU and LDO are all in order | 01/01/70 00:00 | |
Quantization error ? | 01/01/70 00:00 | |
the step size dependacy makes its problematic | 01/01/70 00:00 | |
Sorts![]() | 01/01/70 00:00 | |
??? | 01/01/70 00:00 | |
Couldn't sort it... | 01/01/70 00:00 |