Smooth a time serie not afectig max/minimun data?

1 次查看(过去 30 天)
Hello, I'm trying to find a way to smooth the data without afecting the max/min values of the time serie,
like generate/fitting a sinusoidal serie in where values at the edges (orange and yellow line) will no be affected by the method, I will apreciate any suggestion, thaks.

回答(1 个)

Star Strider
Star Strider 2024-1-24
See if the Signal Processing Toolbox envelope function will do what you want. Choose the 'peak' option, and experiment with the 'np' argument to get the result you want.

标签

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by