How can I form a rectangle / best fit shape about this plot using a matlab?

I tried using spline function but it is not able to form a closed shape. I have to do this in a continuous loop so an interactive option would not be feasible.
I need a line as highlighted. The points are very dense.
Any help would be highly appreciated.

1 件のコメント

Jan
Jan 2018 年 5 月 11 日
What exactly do you mean by "rectangle / best fit shape"? Would a rectangular bounding box match your needs? Do you want a convex hull? Should it be a rectangle considering the rotation? Please do not less the readers guess the details.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSplines についてさらに検索

質問済み:

2014 年 11 月 3 日

コメント済み:

Jan
2018 年 5 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by