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

조회 수: 6 (최근 30일)
masoud jiryaei
masoud jiryaei 2019년 7월 14일
댓글: Stephan 2019년 7월 14일
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일
If it would be acceptable to have all matrices in one excel sheet, you could use:
A = (reshape(your_matrix,5,[],1))'
  댓글 수: 2
Stephan
Stephan 2019년 7월 14일
Did you notice that you can accept and/or vote for useful answers?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by