Three-dimensional matric and Excel

2 views (last 30 days)
masoud jiryaei
masoud jiryaei on 18 Jun 2019
Answered: KSSV on 18 Jun 2019
How can I send a Three-dimensional matrix to the Excel?
  1 Comment
Guillaume
Guillaume on 18 Jun 2019
How are you planning to store a 3D matrix in excel which is strictly 2D?

Sign in to comment.

Accepted Answer

KSSV
KSSV on 18 Jun 2019
How about writing each matrix in a sheet.
A = rand(10,10,5) ;
for i = 1:5
xlswrite('test.xlsx',A(:,:,i),i)
end

More Answers (0)

Categories

Find more on Data Import from MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!