How to save output of variable in csv file in one column like vectors?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
tejasvee
am 19 Jun. 2017
Kommentiert: tejasvee
am 19 Jun. 2017
I have code in output is saved in particular variable and i want to it in csv file and i am able to save it in csv file but i want to save in particular column like vectors[1 not like[1 2 3].please help. 2 3]
0 Kommentare
Akzeptierte Antwort
Guillaume
am 19 Jun. 2017
Then reshape your variable into a column vector either explicitly with reshape or with ::
csvwrite(yourfile, yourvariable(:));
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu File Operations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!