How to create a table?
이전 댓글 표시
I've read the Matlab tutorial for creating one, but it doesn't work for me. Do you need to make it as a script? Could you type a simple code for it to get me started?
채택된 답변
추가 답변 (2개)
Azzi Abdelmalek
2013년 10월 12일
f=figure
headers={'A','B','C'}
data=[1 2 3;4 5 6;7 8 9]
h = uitable(f,'Data',data, 'ColumnName',headers);
For more details
help uitable
ADRIANA FERREIRA
2018년 9월 27일
0 개 추천
t = table; t.a = [1 2 3 4 5]'; t.b = [1 1 1 1 1]'; t.sum = t.a +t.b; disp(t);
카테고리
도움말 센터 및 File Exchange에서 Tables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!