how to fit or plot a eclipse with data point

how to fit or plot a eclipse with these data point
Fit the above data points using an eclipse . display the center (x0, y0). Also plot the above points (using squares) and the fitted eclipse (using solid lines) in the same plot.
x=[ 2 4 5 2.5 -0.3 -0.9 1.2 ];
y=[ 10 7 1.5 -2 0.1 5.7 9.7 ];

Respuestas (1)

KALYAN ACHARJYA
KALYAN ACHARJYA el 8 de En. de 2020
Editada: KALYAN ACHARJYA el 8 de En. de 2020

0 votos

Interpolate 1D array for both x & y, then plot, Here interp1 function

Categorías

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

Etiquetas

Preguntada:

el 8 de En. de 2020

Comentada:

el 8 de En. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by