I want to smooth my noisy elevation vs distance data and also, [diff(Elevation)/diff(distance)] = grade; grade vs distance plot. I used smoothdata() command but the results are oversmoothed, it is over smoothing my data, hampel command does not work on my data ( no change in data). How do we adjust the smoothing factor for smoothdata or any other solution. Please let me know.

댓글 수: 1

Mathieu NOE
Mathieu NOE 2023년 11월 14일
it would help (yourself) if you would share your code + data

댓글을 달려면 로그인하십시오.

답변 (1개)

Cris LaPierre
Cris LaPierre 2023년 11월 14일
편집: Cris LaPierre 2023년 11월 15일

1 개 추천

You seem to know how to smooth your data in MATLAB, but are struggling with what the appropriate settings are. I'd suggest exploring the various options interactively by using the Smooth Data live task. It might be a simpler way to test out a variety of settings without having to have an in-depth knowlege of the underlying code.
Once you get the results you want, you can turn the live task into executable code.

카테고리

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

제품

릴리스

R2023a

질문:

2023년 11월 14일

댓글:

2023년 12월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by