create table in .xlsx using appropriate function
显示 更早的评论
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');
回答(1 个)
Cris LaPierre
2024-1-9
编辑:Cris LaPierre
2024-1-9
writematrix( combinedMatrix,'output.xlsx');
1 个评论
Dyuman Joshi
2024-1-9
类别
在 帮助中心 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!