saving 3 dimensional data in excel file in a particular format
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Ekta Sharma
am 20 Sep. 2022
Kommentiert: Ekta Sharma
am 20 Sep. 2022
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.
Akzeptierte Antwort
Akira Agata
am 20 Sep. 2022
How about the following?
for kk = 1:5
writematrix(squeeze(A(kk,:,:)), "yourExcel.xlsx", "Sheet", kk);
end
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Spreadsheets finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!