How can I modify table by horizontal row wise from three different tables?
2 次查看(过去 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 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!