matlab - Merge of n matrices without loop -


i want inner join n matrices, have 2 columns (first column key, second 1 value). want extract values keys, part of matrices. simplest idea came mind n-1 loop joins 2 matrices inner join function, after converting them tables. @ end have matrix n+1 columns, after converting table matrix.

for example have:

a =[1,5;2,8;4,9] , b = [1,9;2,7;3,11;4,20;6,78], c = [1,4;2,1;4,7;5,9] 

the final matrix should be:

[1,5,9,4;2,8,7,1;4,9,20,7] 

thank much


Comments