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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1599496/image.png)
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!