Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

how to save for loop output of each iteration in csv file?

조회 수: 1 (최근 30일)
tejasvee
tejasvee 2017년 6월 28일
마감: Stephen23 2017년 6월 28일
I want to save for loop output of each iteration in csv file. i have code as for i = 1 : size(TV.T, 2) [x, label_index_expected]=max(TV.T(:,i)); [x, label_index_actual]=max(TY(:,i)); if label_index_actual~=label_index_expected MissClassificationRate_Testing=MissClassificationRate_Testing+1; end end
I want to save output of label_index_expected in csv file of each iteration. i have searched and not get correct answer.Please help.
  댓글 수: 2
Rik
Rik 2017년 6월 28일
편집: Rik 2017년 6월 28일
Have a read here and here. It will greatly improve your chances of getting an answer.
Edit: asking duplicate questions doesn't help. And how does your previous answered question not work here?
Stephen23
Stephen23 2017년 6월 28일
duplicate:
https://www.mathworks.com/matlabcentral/answers/345278-how-to-save-output-of-variable-in-csv-file-in-one-column-like-vectors#answer_271112

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by