saving 3 dimensional data in excel file in a particular format

1 回表示 (過去 30 日間)
Ekta Sharma
Ekta Sharma 2022 年 9 月 20 日
コメント済み: Ekta Sharma 2022 年 9 月 20 日
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.
  1 件のコメント
Ekta Sharma
Ekta Sharma 2022 年 9 月 20 日
It works. Thanks for your quick reply

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

採用された回答

Akira Agata
Akira Agata 2022 年 9 月 20 日
How about the following?
for kk = 1:5
writematrix(squeeze(A(kk,:,:)), "yourExcel.xlsx", "Sheet", kk);
end

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Import from MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by