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

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일

0 개 추천

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

Thanks a lot for clarification, however is there a way to somehow obtain the similar data
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일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Data Preprocessing에 대해 자세히 알아보기

질문:

2022년 12월 13일

댓글:

2022년 12월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by