t1=cell2table(num2cell(randi(2,10,3)))
t2=cell2table(num2cell(randi(2,14,3)))
n=min(size(t1,1),size(t2,1))
a1=t1{1:n,:}
a2=t2{1:n,:}
Then compare a1 and a2
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!