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

조회 수: 4 (최근 30일)
tejasvee
tejasvee 2017년 6월 19일
댓글: tejasvee 2017년 6월 19일
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에서 Whos에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by