Azzera filtri
Azzera filtri

How do I save data to a file in Matlab?

2 visualizzazioni (ultimi 30 giorni)
Alexandria Will-Cole
Alexandria Will-Cole il 14 Nov 2018
Commentato: madhan ravi il 14 Nov 2018
I have three different variables that are 400x1 doubles and I would like to save this data in one file that is delimited by a tab. Please help! Thanks!

Risposte (1)

madhan ravi
madhan ravi il 14 Nov 2018
dlmwrite('sample.txt',[a,b,c],'delimiter','\t') %a,b and c are variables
  4 Commenti
Alexandria Will-Cole
Alexandria Will-Cole il 14 Nov 2018
I am looping through multiple data files processing and attempting to save the data into new data files, so that is why it is in a loop. Any advice?

Accedi per commentare.

Categorie

Scopri di più su Programming in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by