Back to Index

Median of the last three samples for spike rejection.

Signature

MEDIAN_3(x, &y);

Example

// Example pattern from analog_macros.ems
MEDIAN_3(ain(1), smooth);