Azzera filtri
Azzera filtri

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

10 visualizzazioni (ultimi 30 giorni)
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!

Risposta accettata

Vilém Frynta
Vilém Frynta il 2 Mag 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.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by