Question: Question 2 ( 2 5 points ) Estimate the parameters of the given ellipse in general form that best fits these points where h and

Question 2(25 points)
Estimate the parameters of the given ellipse in general form that best fits these points where h and k are
the coordinates of the center of the ellipse, and and are the semi-major and semi-minor axes respectively.
You will read the data from 'data.txt' file, where left column is for x and right column is for y.
(x-h)22+(y-k)22=1
Model the problem using nonlinear least squares regression. Estimate h,k,,. Notice that the first
half of the data and the last half of the data have the same x values.
this is the data from 'data.txt':
5.2618.639
5.0948.374
5.2918.118
4.8258.258
5.1758.533
5.1638.491
4.8078.751
5.2788.223
5.1679.064
4.8518.996
4.7188.299
4.7718.151
5.1018.981
5.2748.584
4.9078.860
4.8928.574
5.2498.425
4.8768.573
5.0718.780
5.2878.204
5.1818.564
5.0799.123
5.0608.756
4.7478.197
4.8728.500
4.9548.737
4.9958.917
5.1178.610
4.9608.738
4.7338.087
4.8968.497
4.7497.933
4.9439.170
4.7267.869
5.2598.433
4.9638.817
4.9698.950
4.8728.356
5.0049.151
4.8708.811
4.9258.679
4.9208.301
5.2348.258
5.0428.545
5.2628.581
5.2038.430
5.1878.133
5.2718.190
5.1418.580
4.8258.911
5.2928.299
4.7188.332
5.1228.701
4.9768.777
5.0008.668
5.0858.564
5.2988.351
4.9668.759
4.8187.964
5.2448.519
5.2068.583
5.0238.531
5.0508.916
4.9438.084
5.0818.273
5.2338.389
4.9588.896
4.7808.377
5.0898.853
4.7598.828
5.0698.825
5.1788.314
5.1458.320
4.8199.040
5.2538.278
5.1138.768
5.2658.378
5.1888.371
5.0118.862
4.7548.280
5.2128.552
5.1218.879
5.2148.770
5.2878.161
4.8519.177
5.0088.773
5.2378.474
4.7498.550
4.8568.712
5.0918.127
4.7718.165
5.1328.976
4.8408.628
5.0688.518
4.9779.049
4.8368.363
4.9048.569
4.8358.858
5.2808.381
5.1858.570
5.2617.945
5.0947.044
5.2917.775
4.8257.122
5.1757.396
5.1637.316
4.8077.680
5.2787.702
5.1677.902
4.8517.782
4.7187.821
4.7717.247
5.1017.663
5.2748.016
4.9077.529
4.8927.267
5.2497.647
4.8767.299
5.0717.420
5.2877.798
5.1817.448
5.0797.773
5.0607.384
4.7477.445
4.8727.234
4.9547.354
4.9957.517

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!