What interpolation method is used to solve this problem?

2 次查看(过去 30 天)
Hi all,
In the below problem i need to find the value of u but i dont know what method to be used for this problem.So, please refer me the mathematical method used to solve this problem. Thank you in advance.
x = [1, 2, 3, 4, 5, 6, 7];
y1 = [5, 8, 7 , 6 , 4];
y2 = [11, 8, 17 , u, 32];
y3 = [45, 58, 71 , 16 , 4];
y4 = [5, 82, 71 , 63 , 42];
u = ?
  7 个评论
naresh bhimchand
naresh bhimchand 2021-5-27
编辑:naresh bhimchand 2021-5-27
Hi, There is no relation between Y1 and Y3 actually this is an example problem just been created to understand and i am searching for an approach or methods to solve this kind of problem.if you have any approach or solution please share me the link.
Jan
Jan 2021-5-27
编辑:Jan 2021-5-27
@naresh bhimchand: It is impossible to suggest a solution, because the problem has not been defined yet. The given information is compatible with u=19, u=rand^23 and u=-sqrt(pi), as said already.
The detail, that there is no relation between Y1 and Y3, does not allow to guess, what the relation between u and any other numbers given in the question is.

请先登录,再进行评论。

采纳的回答

Matt J
Matt J 2021-5-27
编辑:Matt J 2021-5-27
this is an example problem just been created to understand and i am searching for an approach or methods to solve this kind of problem
Here is one method:
y2 = [11, 8, 17 , nan, 32];
Y2=fillmissing(y2,'linear')
Y2 = 1×5
11.0000 8.0000 17.0000 24.5000 32.0000

更多回答(0 个)

类别

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