Appending the sheets in excel file
1 次查看(过去 30 天)
显示 更早的评论
hi all, i am having some 24 image files. i want to read each file and perform some operations on the image file to get an output of 13x1 matrix, and want to store it in sheet1 in an excel file. after that i want to perform the same operation on 2nd image and want to store output in sheet2 of the same excel file. i am providing the code below
for i=1:1:24
fname='figure';
ext='.png';
fnamer=sprintf('%s %d%s',fname,i,ext);
I=imread(fnamer);
a=rgb2gray(I);
end
% i want to perform some mathematical operations on matrix 'a' , which gives me an output of 13x1 matrix and i want to save this in sheet1 in a excel file. when i value increments to 2 again it will give me a 13x1 matrix as output and i want to save this in sheet2 of the same excel file and as the loop progress i want it to save in the appending sheets. some one please help me, thanks in advance.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!