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
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!

Translated by