how to merge / unite / connect two curves smoothly if there is missing data in betwwen?

14 次查看(过去 30 天)
Hey there,
I have two curves that I need to merge smoothly. However there is some missing data. Can I connect these two curves smoothly?
Best!

采纳的回答

Vilém Frynta
Vilém Frynta 2023-5-2
Hello,
you have to interpolate the data. After interpolation you will know what the approximate values are at the place where your data is missing. Then you plot the interpolated data.
There are different types of interpolation, which might result in different approximated values and different 'smoothness' of your curve.
Check this out: interp1.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by