A Matlab function to filter out spikes based on Linear Programming
Linear programming can be performed by two functions. The switch is in spikeremover.m
- MATLAB built-in linprog function.
- linprog2 function. Forked then edited from: https://www.mathworks.com/matlabcentral/mlc-downloads/downloads/submissions/2166/versions/1/previews/strang/linprog.m/index.html