How can I modify table by horizontal row wise from three different tables?
조회 수: 5 (최근 30일)
이전 댓글 표시
There are two tables with three columns. First two columns will be considered as a pair and third column is output. Table 2 is a branch of the main table and Table 1 is coming from different source with different pairs and outputs. Now I'm looking to modify Table 2 where I want to add only uncommon pairs from Table 1 but the output values will be taken from main table depending on the pairs, not from the Table 1. Common pairs and pairs with no output from main table will not be added in the modified table. The size of the all table might vary.
댓글 수: 0
답변 (2개)
Peter Perkins
2018년 4월 4일
Your question is not really clear to me, but likely you want some combination of setdiff and join. A simple example would help.
참고 항목
카테고리
Help Center 및 File Exchange에서 Tables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!