Borrar filtros
Borrar filtros

Remove outliers or noise from 1D GIS data

1 visualización (últimos 30 días)
NS
NS el 6 de Sept. de 2017
Editada: John D'Errico el 6 de Sept. de 2017
Hi,
I want remove outliers or noise from my 1D GIS data which contain elevation change. I use below code from one example of mathworks to do this but results its not spatially smooth. Kindly suggest me to solve this issue.
%%%%%%%
%Percentile based outlier
% nth and ith percentile
percntiles = prctile(z,[10 90]);
outlierIndexes = z < percntiles(1) | z > percntiles(2);
%Extract outlier values
outliers = z(outlierIndexes);
%Extract non-outlier values
nonOutliers = z(~outlierIndexes);
%%%%%%%
Thanks
  2 comentarios
KSSV
KSSV el 6 de Sept. de 2017
Have a look on inbuilt function smooth in matlab.
John D'Errico
John D'Errico el 6 de Sept. de 2017
Editada: John D'Errico el 6 de Sept. de 2017
Without seeing your data, it is terribly difficult to know what you are doing wrong. For example, the above scheme will do reasonably well if applied to data that has no significant trend in it, yet it will be useless other times. We cannot know what is the problem, without the data.
So please attach your data as a .mat file to a comment, or edit your question to do so. If you are reluctant to post the data itself so we can use it, then attach a plot.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by