create table in .xlsx using appropriate function
조회 수: 11 (최근 30일)
이전 댓글 표시
A = [1, 2, 3; 4, 5, 6; 7, 8, 9];
B = [24, 35, 38; 21, 58, 36; 32, 56, 74];
% Combine matrices A and B
combinedMatrix = [A, B];
% Write the table to an Excel file
xlswrite('output.xlsx', combinedMatrix);
disp('Table written to output.xlsx');
댓글 수: 0
답변 (1개)
Cris LaPierre
2024년 1월 9일
편집: Cris LaPierre
2024년 1월 9일
writematrix( combinedMatrix,'output.xlsx');
댓글 수: 1
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!