필터 지우기
필터 지우기

How can I combine two tables together in Matlab which are different sizes but some of the row names are the same?

조회 수: 2 (최근 30일)
Please could anybody suggest how I would combine two tables together where some of the rows are the same name, but they size of the tables are different?
For instance my first table is called secmet and has 8 rows, 2 columns.
My second table is called secmetprot and has 12 rows, 2 columns
Some of the rows are the same name in each table. However, in instances where they aren't for one of the tables, I would like zeros to be in the columns for this row. How would I do this? I am not sure whether I would need to use outerjoin or not.
  댓글 수: 1
Vinai Datta Thatiparthi
Vinai Datta Thatiparthi 2019년 12월 18일
Hi Amy!
Can you share the tables that you talk about? It may help us arrive at at a solution quickly. Also, can you describe how you want the output to look like?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by