Is it possible to obtain the initial data after "smoothdata" function?

1 次查看(过去 30 天)
I am smoothing the data with smoothdata(data, 'movmedian'). Is there any way to obtain the initial data after the smoothing is done?

采纳的回答

Star Strider
Star Strider 2022-12-13
In general, no.
Smoothing involves filtering of some sort, and that removes the higher-frequency details of the original signal, and once that information is removed, it is never again available.
It is best to always save the original data before doing any sort of filtering or other pre-processing operation.
  2 个评论
Miras Akhmetov
Miras Akhmetov 2022-12-13
Thanks a lot for clarification, however is there a way to somehow obtain the similar data
Star Strider
Star Strider 2022-12-13
My pleasure!
It is best to always save the original data before doing any sort of filtering or other pre-processing operation.
As I mentioned initially, keep a copy of the original data. Every filtering opearation I have encountered thus far has been irreversible.

请先登录,再进行评论。

更多回答(1 个)

Image Analyst
Image Analyst 2022-12-13
Sure there is. I assume you're putting the smoothed results back into the initial arrays. Just make a copy of it before you smooth it so you'll still have them.

Community Treasure Hunt

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

Start Hunting!

Translated by