replacefartherthan

Replace or delete values in a surface farther than a given distance from points.

You are now following this Submission

Given a gridded surface Z corresponding to X and Y, this function will replace points in Z with NaN (or any other value you declare) if they are farther than maxdist from any point given by x,y. See the demo file for a example.

Cite As

Chad Greene (2026). replacefartherthan (https://nl.mathworks.com/matlabcentral/fileexchange/46830-replacefartherthan), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.1

Added live scripts

1.0.0.0