MATLAB Answers

how to fit or plot a eclipse with data point

3 views (last 30 days)
sou oscar
sou oscar on 8 Jan 2020
Commented: sou oscar on 8 Jan 2020
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 ];

  0 Comments

Sign in to comment.

Answers (1)

KALYAN ACHARJYA
KALYAN ACHARJYA on 8 Jan 2020
Edited: KALYAN ACHARJYA on 8 Jan 2020
Interpolate 1D array for both x & y, then plot, Here interp1 function

  1 Comment

sou oscar
sou oscar on 8 Jan 2020
could u show me the code ,i cant think of ?

Sign in to comment.

Sign in to answer this question.

Tags


Translated by