Please help me to find the equations of the following data.

1 visualización (últimos 30 días)
x=[0 10 20 30 40 50 60];
y1=[.30 .50 1.40 1.60 2.60 2.90 3.35];
y2=[.68 .94 1.53 1.9 2.78 3.0 3.5];
y3=[1.029 1.34 2.36 2.81 3.7 3.9 4.7];
3 different equations required.

Respuesta aceptada

Walter Roberson
Walter Roberson el 26 de Mzo. de 2017
d = randperm(6,3);
c1 = polyfit(x, y1, d(1));
c2 = polyfit(x, y2, d(2));
c3 = polyfit(x, y3, d(3));
  2 comentarios
Sajal  Khandelwal
Sajal Khandelwal el 26 de Mzo. de 2017
Editada: Sajal Khandelwal el 26 de Mzo. de 2017
I am thankful for your answer but not getting correct values for y2

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by