Appending two tables of different sizes
조회 수: 1 (최근 30일)
이전 댓글 표시
I am matching two tables LC and Bordo using the year and the quarter columns that are common between the two. LC is a bigger table with more rows and columns. So I matched using the following:
[isinB, Brow]= ismember([LC.yy,LC.Quarter],[Bordo.Year,Bordo.quarter],'rows');
How can I append to LC table the part of Bordo table that matched based on year and quarter those in LC table?
댓글 수: 1
Peter Perkins
2017년 6월 6일
Danielle, you're going to have to say specifically what you mean by "append". It sounds like maybe some kind of join operation, as Walter suggests. But a short example is what's needed.
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Tables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!