How can I smooth this plot?
이전 댓글 표시

댓글 수: 4
Sam Chak
2022년 2월 28일
Have you tried the smooth funtion?
John D'Errico
2022년 2월 28일
편집: John D'Errico
2022년 2월 28일
@Sam Chak - Um, NO. Smooth does not apply to multi-valued relations like this. While you could actually pass in the vectors x and y, the result would probably not make much sense. In fact, it would likely look much less smooth than the original data.
However, if the points as plotted are really sampled say uniformly in time, then you might decide to apply smooth to both x(t) and y(t) separately. That would hopefully produce a meaningful result.
Cris LaPierre
2022년 2월 28일
편집: Cris LaPierre
2022년 2월 28일
How have you created this plot? What plotting function did you use? Please share the code used to create your plot. You can also attach your data files using the paperclip icon.
Star Strider
2022년 2월 28일
That looks like a set of hysteresis curves. It might be possible to estimate the parameters using something like how to find ascending and descending of hysteresis loop? and the plot the resulting loop with linspace independent variables.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Spectral Estimation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!