What interpolation method is used to solve this problem?

2 views (last 30 days)
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 Comments
naresh bhimchand
naresh bhimchand on 27 May 2021
Edited: naresh bhimchand on 27 May 2021
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 on 27 May 2021
Edited: Jan on 27 May 2021
@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.

Sign in to comment.

Accepted Answer

Matt J
Matt J on 27 May 2021
Edited: Matt J on 27 May 2021
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

More Answers (0)

Categories

Find more on Interpolation in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!