- https://www.mathworks.com/help/curvefit/smooth.html
- https://www.mathworks.com/help/curvefit/smoothing.html
How to superimpose curves ?
조회 수: 6 (최근 30일)
이전 댓글 표시
Hello,
I want to superimpose curves or "overlay" them.
I have timeseries data with a speed profile from an experiment which was repeated several times and at different speeds. (See picture)
Now I want to piece the curves together to one 'smooth' curve or superimpose them in parts. So that the single segments fit together and i get a curve shape like the one in the second picture. Is there a built in Matlab function to do so, or do you have any tips how to proceed?
Thank you,
Leo
댓글 수: 0
답변 (1개)
Gowtham
2023년 9월 8일
편집: Gowtham
2023년 9월 27일
Hello Leonhard,
I understand that you want to smoothen the given curve.
Regarding your concern about superimposing the curves, it is important to note that due to the continuous nature of the data, the expected output may not be achieved.
Since the data is continuous, a 'moving average filter' can be used. This can be done using the smooth function from the Curve Fitting Toolbox.
Feel free to refer to the following documentation for further understanding:
Hope it helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Curve Fitting Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!