Clear Filters
Clear Filters

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

10 views (last 30 days)
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!

Accepted Answer

Vilém Frynta
Vilém Frynta on 2 May 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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!