How can i divide intervals into n sub-intervals of equal distance in order to interpolate by using spline?

9 visualizzazioni (ultimi 30 giorni)
Hy everyone,
My goal is to interpolate, by using spline, the six points reported in Figure 1.
However i was wondering if it was possible to divide, each interval (for example the interval between the point 1 and point 2) in n equidistant sub-intervals by creating other points and after interpolate to obtain Fig 2.
I dont know if it is possible creating the sub-intervals before performing the spline interpolation or after the interpolation.
Any help would be appreciated
Thank You
Lorenzo
FIG. 1
FIG. 2
  3 Commenti

Accedi per commentare.

Risposte (1)

Image Analyst
Image Analyst il 10 Dic 2020
See attached demo.

Categorie

Scopri di più su Interpolation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by