Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

2 vues (au cours des 30 derniers jours)
tejasvee
tejasvee le 28 Juin 2017
Clôturé : Stephen23 le 28 Juin 2017
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 commentaires
Rik
Rik le 28 Juin 2017
Modifié(e) : Rik le 28 Juin 2017
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 le 28 Juin 2017
duplicate:
https://www.mathworks.com/matlabcentral/answers/345278-how-to-save-output-of-variable-in-csv-file-in-one-column-like-vectors#answer_271112

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by