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

3 Ansichten (letzte 30 Tage)
Damith
Damith am 23 Mai 2014
Kommentiert: Jan am 8 Mär. 2018
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.

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 23 Mai 2014
dlmwrite('yourfile',yourmatrix,'delimiter',' ')
  3 Kommentare
hamed
hamed am 8 Mär. 2018
Do you know how can I make 2 tabs space between the columns?
'\t' makes a tab and I need 2 tabs
Jan
Jan am 8 Mär. 2018
What about '\t\t'?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB 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!

Translated by