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

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 件のコメント

Walter Roberson
Walter Roberson 2019 年 7 月 14 日
Excel is not able to represent 3d arrays. You can reshape to 2d or you can write each pane to a separate sheet.

サインインしてコメントする。

 採用された回答

Stephan
Stephan 2019 年 7 月 14 日
編集済み: Stephan 2019 年 7 月 14 日

1 投票

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

2 件のコメント

masoud jiryaei
masoud jiryaei 2019 年 7 月 14 日
thank you Stephan.
Stephan
Stephan 2019 年 7 月 14 日
Did you notice that you can accept and/or vote for useful answers?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Import from MATLAB についてさらに検索

質問済み:

2019 年 7 月 14 日

コメント済み:

2019 年 7 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by