piclist 2002\09\08\160617a >
Thread: Sorting numbers
face BY : Scott Dattalo email (remove spam text)

On Sun, 8 Sep 2002 RemoveMEJISAKTakeThisOuTspamTakeThisOuTNETCOURRIER.COM wrote:

{Quote hidden}


FWIW, You can look at


As an example for 16-bit numbers.

This code is somewhat different than what you're seeking - maybe. The
purpose of my routine is to low pass filter a stream of analog data. The
sorting part is for a median filter. As a new sample is recieved, it is
put into a circular buffer. A second buffer contains the sorted data.
Well, actually it contains the indices of the sorted data. The filtered
value is obtained by adding together the last N-samples, excluding the
extremes, and dividing by the number of samples added together. In other
words, this routine combines a low pass filter and a median filter into
one filter.


http://www.piclist.com hint: To leave the PICList


In reply to: <3D7B8096.45759BCA@netcourrier.com>
See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Sorting numbers

month overview.

new search...