Removing noise from a set of data?

So I have a 2 dimensional displacement vector. I ve been told that if the magnitude of this displacement is less than 0.3 micrometers, I have to treat it as noise, and to remove it.

What does it actually mean to remove this noise? Do I just put a zero in for that set of data, or do I just completely remove it from the set as if it never existed?

ooorah2014-11-10T06:17:51Z

Generally, you'll want to put a zero in for that data point. If you remove it from the set entirely, it can throw off other vectors (such as time of each measurement) unless you adjust them accordingly.

Depending on your application, you may want to remove it, and adjust all other vectors accordingly, but I would say that generally a filter does not do that.

In MATLAB, it can be done simply with:

x(x < 0.3) = 0;