Switched capacitor arrays analog memory for sparse data sampling