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

4 ビュー (過去 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 件のコメント
Lorenzo Bennati
Lorenzo Bennati 2020 年 12 月 10 日
編集済み: Lorenzo Bennati 2020 年 12 月 10 日
thanks you both for your help
Lorenzo

サインインしてコメントする。

回答 (1 件)

Image Analyst
Image Analyst 2020 年 12 月 10 日
See attached demo.

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by