Do anyone have a simple way to calculate a "moving median" value? Or am I stuck maintaining a FIFO array, sorting that and then picking from the sorted array.
Can anyone suggest an efficient sort routine?
I work with DirectSoft4 and am starting in RSLogix5k (Ladder editing only).
( I am looking for a filter for spikes in analog data. We are also looking at greater signal conditioning, but we still seem to need a 'software' filter.)
Can anyone suggest an efficient sort routine?
I work with DirectSoft4 and am starting in RSLogix5k (Ladder editing only).
( I am looking for a filter for spikes in analog data. We are also looking at greater signal conditioning, but we still seem to need a 'software' filter.)