Is it possible to use outerjoin for more than two tables?
조회 수: 3 (최근 30일)
이전 댓글 표시
Is it possible to use the function 'outerjoin' in Matlab for more than 2 tables? Basically, I have a number of variables (around 15), all in table (1x2) having one column timestamp and another column variable. I am trying to join all variables in one table to finally make some calculations. The method of outerjoin worked perfectly for the first 2 tables but could not add more than 2 variables.
If this is not possible, is there an alternative way on how should I proceed?
Regards
댓글 수: 5
Peter Perkins
2018년 7월 3일
It's kind of impossible to tell from your description, but it may be that you want to merge the keys, which is not the default in an outerjoin.
I would think that the bigger problem would be that doing an outerjoin on 15 tables would give you a very large number of rows, unless there are few if any non-matches, in which case you might consider an innerjoin.
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!