how to compare two structures

22 ビュー (過去 30 日間)
Yuvashree Mani Urmila
Yuvashree Mani Urmila 2014 年 7 月 2 日
回答済み: Robert Cumming 2014 年 7 月 2 日
I have two structures. structure1=(8666*1) --> every cell has x and y coordinate values(two numeric values) structure2=(2785*1) --> every cell has x and y coordinate values(two numeric values)
How do i compare the structure1 and structure 2 cell by cell. I need to find the same positions (x and y coordinates) Missing positions (x and y coordinate) and new positions (x and y coordinate) between the two structures.
I kindly request someone to help.
Thanks
  2 件のコメント
Jos (10584)
Jos (10584) 2014 年 7 月 2 日
Are you talking about structures with fields or about cells? It would help if you give a really short example with only a few values.
Yuvashree Mani Urmila
Yuvashree Mani Urmila 2014 年 7 月 2 日
cells they are. cell1 = {[4 559][4 568] [4 636] [4 641] [4 645] [4 1001][5 655]....} cell2 = {[4 902] [5 950] [6 655] [6 903] [7 637] [7 652]....}
Thankyou

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

回答 (1 件)

Robert Cumming
Robert Cumming 2014 年 7 月 2 日
This FEX submission should do what you want.
Regards

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by