本文介绍了通过对5个已知点的插值获得新点的(X,Y)坐标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有5个数据点(实验性的)。我想进行三次样条插值并提取x = 0到50之间的'100'点的(x,y)坐标。有人可以帮我解决这个问题。我是初学者所以我没有太多关于它的想法。我需要matlab或python中的程序。积分如下。有人请帮助我。



积分为(0,0.256)(12.5,0.218)(25,0.165)(37.5,0.247)(50,0.294)。

I have 5 data points (experimental). I want to carry out cubic spline interpolation and extract (x,y) co-ordinates of '100' points between x=0 to 50. Can someone please help me with this problem.I am a beginner so i don't have much idea about it. I need a program in either matlab or python. Points are given below. someone please help me.

Points are (0,0.256) (12.5, 0.218) (25, 0.165) (37.5, 0.247) (50, 0.294).

推荐答案

Data ──> Interpolated Data ──> Graphical plot
          │
          └──> Data you need

相反,您正试图从图形中获取数据。这是错的。图形应该是只写的。



-SA

Instead, you are trying to get data back from graphics. This is wrong. Graphics should be write-only.

—SA


这篇关于通过对5个已知点的插值获得新点的(X,Y)坐标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-11 10:40