You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
In the fitting of scattered data, there may be a few sample values that contain high noise, which are called outliers. In dealing with such scattered data, the approximation effect of the classical moving least squares (abbr. MLS) is greatly reduced due to the existence of outliers. In this paper, a modified moving least squares (abbr. MMLS) is proposed, which can recognize outliers automatically from scattered data and weaken the influence of the outliers in fitting by an added weight function in MLS. It is theoretically proven that if the only noise existing in scattered data is outliers, the solution of MMLS is close to that of MLS in the absence of outliers. Because the computational process of the proposed MMLS is consistent with the classical MLS, the computational efficiency of MMLS is higher than that of Levin’s moving least-hardy method (abbr. MLH) which is proposed to also deal with the fitting of scattered data with outliers by iterative solution. The numerical experiments not only confirm the property of MMLS but also show that the approximation effect of MMLS is almost identical with that of MLH
Cite As
贵方 (2026). A modified moving least-squares suitable for scattered data (https://www.mathworks.com/matlabcentral/fileexchange/177974-a-modified-moving-least-squares-suitable-for-scattered-data), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (14.4 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
