フィルターのクリア

How can I export a m file to excel ?

1 回表示 (過去 30 日間)
Neel Wani
Neel Wani 2016 年 6 月 19 日
コメント済み: Neel Wani 2016 年 6 月 23 日
I am working on a project in which I am comparing two images. Now the matrix for one of the images is 231x338x3 uint8 and I want to export this matrix into a excel or access file.
  3 件のコメント
Geoff Hayes
Geoff Hayes 2016 年 6 月 20 日
Neel Wani
Neel Wani 2016 年 6 月 23 日
The reason behind using excel is because I would be using another software which accepts only excel or access

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

回答 (1 件)

Shameer Parmar
Shameer Parmar 2016 年 6 月 22 日
Try for this..
as you mentioned you have 231x338x3 matrix, it means it is having 3 sets of 231x338
let us consider, it is matrix 'A' of 231x338x3 size
for i = 1:size(A,3)
xlswrite('ABC.xlsx', A(:,:,i), ['Sheet',num2str(i)], 'A1');
end

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by