How to avoid losing small width peak data in smoothing functions?

3 visualizaciones (últimos 30 días)
I don't have the curve fitting toolbox and I am trying to smooth out a very noisy data (not a time series). What are some of the best/well-tested smoothing functions out here? It'd be nice if I can get hold of the smooth.m function from the curve fitting box but I don't see how I can go on about obtaining that alone.
I tried to write my own using triangular smoothing but I am working in micron scales and I have a few legitimate peaks (not noise) of really high amplitude (I am measuring the surface of a substance and this is a scratch on it) and smoothing functions take that out. How would one go about avoiding that? Is there way a to ask a smoothing function to bypass that or even avoid smoothing if the slope of the data exceeds a certain value?
Thanks!

Respuestas (0)

Categorías

Más información sobre Curve Fitting Toolbox en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by