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

조회 수: 9 (최근 30일)
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

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2020년 12월 10일
See attached demo.

카테고리

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