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

14 Ansichten (letzte 30 Tage)
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!

Akzeptierte Antwort

Vilém Frynta
Vilém Frynta am 2 Mai 2023
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.

Weitere Antworten (0)

Kategorien

Mehr zu Interpolation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by