# What interpolation method is used to solve this problem?

1 visualizzazione (ultimi 30 giorni)
naresh bhimchand il 27 Mag 2021
Modificato: Matt J il 27 Mag 2021
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 CommentiMostra 5 commenti meno recentiNascondi 5 commenti meno recenti
naresh bhimchand il 27 Mag 2021
Modificato: naresh bhimchand il 27 Mag 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 il 27 Mag 2021
Modificato: Jan il 27 Mag 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.

Accedi per commentare.

### Risposta accettata

Matt J il 27 Mag 2021
Modificato: Matt J il 27 Mag 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
##### 0 CommentiMostra -2 commenti meno recentiNascondi -2 commenti meno recenti

Accedi per commentare.

### Categorie

Scopri di più su Interpolation in Help Center e File Exchange

### Community Treasure Hunt

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

Start Hunting!

Translated by