How to average out the drifting circle?

1 view (last 30 days)
MP
MP on 15 Jun 2022
Commented: KSSV on 15 Jun 2022
I have X and Y coordinates of a drfting trajectory (oval). The are about 2.5 passages of the drfting trajectory (oval). I would like to obtain an averaged orbit of the trajectory.
The picture below shows the trajectory. The data coordinates are blue. I want a circle like Red one.
The data for X and Y is attached below.
Here is the code for blue circles:
load('matlab.mat')
subplot(211);
plot(Rgsm(1,:),Rgsm(2,:));
Any help is greatly appriciated. Thank you in advance!

Accepted Answer

KSSV
KSSV on 15 Jun 2022
  5 Comments
KSSV
KSSV on 15 Jun 2022
Perfect...
Enjoy MATLAB..!

Sign in to comment.

More Answers (0)

Categories

Find more on Earth and Planetary Science in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!