How to convert two arrays into a table?
조회 수: 67 (최근 30일)
이전 댓글 표시
Suppose I have two different horizontal arrays of n elements in each array, and I want to put them in a table form with those two arrays as 2 columns in the table. How can I do this in Matlab?
댓글 수: 0
채택된 답변
Vineeth Kartha
2016년 5월 3일
Hi,
If A and B are the arrays with n elements then you can create a table by the following command:
>> T=table(A,B)
Regards
Vineeth
댓글 수: 2
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Tables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!