I have a multi dimension matrix (:,:,:) that I need to export to excel

3 Ansichten (letzte 30 Tage)
I have a multi dimension matrix (:,:,:) that I need to export to excel, The data is basically formed of 14 matrices (5*5).
(:,:,14) I tried xlswrite command but I kept getting some dimension errors. Any ideas, please! Thank you guys!
  1 Kommentar
Walter Roberson
Walter Roberson am 14 Jul. 2019
Excel is not able to represent 3d arrays. You can reshape to 2d or you can write each pane to a separate sheet.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Stephan
Stephan am 14 Jul. 2019
Bearbeitet: Stephan am 14 Jul. 2019
If it would be acceptable to have all matrices in one excel sheet, you could use:
A = (reshape(your_matrix,5,[],1))'

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by