Info
此问题已关闭。 请重新打开它进行编辑或回答。
i want to write in a file of matrix data of each element of row is seperated by commas and next row is in next line and also last element witout comma
2 次查看(过去 30 天)
显示 更早的评论
for x = 1:12
for z = 1:128
for y = 1:256
fprintf(fileID,'%f',data(x,y,z));
fprintf(fileID,',');
end
end
fprintf(fileID,'\n');
end
2 个评论
Walter Roberson
2016-10-19
编辑:Walter Roberson
2016-10-19
Have you ever considered the benefits of responding to people's questions about what you are trying to do, instead of creating a new Question? You now have two active Questions on exactly the same topic, and you are getting confused with someone else who seems to be asking the same thing.
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!