How to save output of variable in csv file in one column like vectors?

2 次查看(过去 30 天)
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]

采纳的回答

Guillaume
Guillaume 2017-6-19
Then reshape your variable into a column vector either explicitly with reshape or with ::
csvwrite(yourfile, yourvariable(:));

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 File Operations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by