saving 3 dimensional data in excel file in a particular format
3 次查看(过去 30 天)
显示 更早的评论
I have a dataset A(5,100,3000) and I want to export it to excel. I want 5 sheets, each with 100 rows and 3000 columns.
采纳的回答
Akira Agata
2022-9-20
How about the following?
for kk = 1:5
writematrix(squeeze(A(kk,:,:)), "yourExcel.xlsx", "Sheet", kk);
end
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!