I'm working with a m-by-n matrix which contains the height data for a topology. I'm creating the length of the x and y axis from the collumn and row wise length of the matrix, as the matrix only gives the height at a certain point.
When i'm plotting the unfiltered data onto my x/y grid i obviously encounter outliers in my height data.
Using a 2D line across my dataset matlabs smooth() function gives me the filtering i need, removing the unnecessary outlieres. But somehow the smooth3() function doesn't create the same effect for my 3D dataset.
Is there any filtering/smoothing method i can use to remove the outliers from my data? Ultimatly i want to create a stl-file from of my topology.