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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/456259/image.png)
FIG. 2
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/456264/image.png)
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!