Calculating a 3D Mean-Trajectory from an Array

1 回表示 (過去 30 日間)
Tom Jericho
Tom Jericho 2021 年 2 月 20 日
回答済み: Vimal Rathod 2021 年 2 月 22 日
Hello,
I have a big Matrix with XYZ entries. The data is from a lasertracker, that tracks a trajectory.
I now want to calculate a mean trajectory from 30 measured trajectories. Is this possible?
My thinking was:
  1. Split the matrix in the 30 submatrices (condition: when a point is close enough to the start/endpoint of the trajectory)
  2. Create a Trajectory from each submatrix
  3. Calculate the Mean Trajectory by adding the Values together and dividing by the number of trajectories
But how do I create a continous trajectory from a Matrix? I haven't found any solutions yet.
Thanks in Advance
Greetings Tom

回答 (1 件)

Vimal Rathod
Vimal Rathod 2021 年 2 月 22 日
Hi,
You could interpolate the data to create a continuous trajectory from the set of points. You could use curve fitting toolbox for that.
Refer to the following link to generate a smooth 3d path with the 3D mean trajectory matrix.

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by