help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

save matrix with a header


From: Marcio Cardoso
Subject: save matrix with a header
Date: Thu, 30 Jan 2014 09:53:01 -0200

M = [ 1, 20; 2, 21; 3, 22];
dlmwrite('c:\testresult\M.txt', M, '\t')

Works fine, but I would like to add a header for the file.
The matrix header shall be the columns names: 'day'   'temperature(C)'

how can I save the matrix with the header?
Regards



reply via email to

[Prev in Thread] Current Thread [Next in Thread]