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

3 vues (au cours des 30 derniers jours)
Damith
Damith le 23 Mai 2014
Commenté : Jan le 8 Mar 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.

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 23 Mai 2014
dlmwrite('yourfile',yourmatrix,'delimiter',' ')
  3 commentaires
hamed
hamed le 8 Mar 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 le 8 Mar 2018
What about '\t\t'?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by