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 comentarios

KSSV
KSSV el 27 de Mayo de 2021
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.
KSSV
KSSV el 27 de Mayo de 2021
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 el 27 de Mayo de 2021
Editada: Jan el 27 de Mayo de 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.
naresh bhimchand
naresh bhimchand el 27 de Mayo de 2021
Editada: naresh bhimchand el 27 de Mayo de 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 el 27 de Mayo de 2021
Editada: Jan el 27 de Mayo de 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.

Iniciar sesión para comentar.

 Respuesta aceptada

Matt J
Matt J el 27 de Mayo de 2021
Editada: Matt J el 27 de Mayo de 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

Más respuestas (0)

Categorías

Más información sobre Interpolation en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 27 de Mayo de 2021

Editada:

el 27 de Mayo de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by