What interpolation method is used to solve this problem?

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

What is u? Why do you think you have to use interpolation? You need to explain us the problem.
Normally we use forward interpolation , backward interpolation or inverse interpolation formula to find x and y data but here i have more rows and columns and in that i need to find u like i need to predict the value of u .So, i am not sure about what method to use in order to predict the value of u.
What is u? How u is related to x and y?
Hi,
This is the data,
In this data, i need to predict the value of u and i need the method to solve the problem.
Jan
Jan on 27 May 2021
Edited: Jan on 27 May 2021
@naresh bhimchand: This does not clarify the question in any way. The shown numbers could be random, or codes to open locks. You have to explain, if you assume a dependency of u to the other values of Y2, or if there is a connection to Y1 and Y3 also. Maybe all Y are building a smooth surface and we can assume, that a cubic interpolation is fair.
Currently we see a pile of numbers without a declared pattern or meaning. Then u=19 is a valid anser, but u=-sqrt(pi) also.
It is your turn to explain, why an interpolation is applicable. Based on the currently given information your problem cnnot be solved.
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

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

Asked:

on 27 May 2021

Edited:

on 27 May 2021

Community Treasure Hunt

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

Start Hunting!