You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
%------------[idx,vals,filt] = medoutlier(x,sigthresh,pad)----------------
% iterative outlier detection using median-absoulte deviation (MAD)
% via the equation:
% scores = abs(x - median(x)) / mad(x)
%
% scores higher than a set threshold will be removed
%
% >>> INPUTS >>>
% Required:
% x = data vector
% Optional:
% sigthresh = threshold to remove outliers (default = 3)
% pad = will pad output vector with nans for each removed data point to
% preserve the length (if output vector "filt" is called)
%
% <<< OUTPUTS <<<
% idx = index of outliers
% vals = values of the outliers
% filt = new vector with outliers removed (optionally padded with nans)
%
% By JMS, 1/15/2016
%-------------------------------------------------------------------------
Cite As
Jordan Sorokin (2026). medoutlier(x,sigthresh,pad) (https://uk.mathworks.com/matlabcentral/fileexchange/55459-medoutlier-x-sigthresh-pad), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.94 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
