필터 지우기
필터 지우기

Write a matrix to a text file with a space between columns

조회 수: 26 (최근 30일)
Damith
Damith 2014년 5월 23일
댓글: Jan 2018년 3월 8일
Hi,
Does anybody know to write an matrix (3652500 rows and 3 columns) to a text file with a space between columns? I have MATLAB R2011b version.

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 5월 23일
dlmwrite('yourfile',yourmatrix,'delimiter',' ')
  댓글 수: 3
hamed
hamed 2018년 3월 8일
Do you know how can I make 2 tabs space between the columns?
'\t' makes a tab and I need 2 tabs
Jan
Jan 2018년 3월 8일
What about '\t\t'?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import and Export에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by