Delete Data Points (delete_data_points)
Updated 28 Aug 2021
Deletes data points based on a specified condition.
[x_new,y_new] = delete_data_points(x,y,condition)
[x_new,y_new] = delete_data_points(x,y,condition) creates a new data set (
y_new) by deleting data points from the original data set (
condition should be input as a logical expression in terms of
y (this will generate the logical array needed by the function) that specifies which data points should be deleted. Element-wise multiplication, division, and power should be used when defining
condition (i.e. use
x.*y instead of
x./y instead of
x.^y instead of
x^y). For example, to delete all data points where , we would input
See "EXAMPLES.mlx" or the "Examples" tab on the File Exchange page for examples.
Tamas Kis (2021). Delete Data Points (delete_data_points) (https://github.com/tamaskis/delete_data_points-MATLAB/releases/tag/v3.0.3), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!