help-octave
[Top][All Lists]
Advanced

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

Concatenate files by date


From: babelproofreader
Subject: Concatenate files by date
Date: Tue, 14 Jun 2016 06:20:20 -0700 (PDT)

I have separate text files that consist of a date column followed by columns
of relevant data and I would like to load them and concatenate them into one
file that has the date column and then all the relevant data from the
following columns from the separate files. The date columns will
occasionally have missing/different dates so I'd like the date columns to be
merged whilst preserving the correct date stamps for the rows/columns of the
concatenated data.

A simple example:

File A
14/06/2016, 1, 2, 3
16/06/2016, 4, 5, 6

File B
15/06/2016, 7, 8, 9
17/06/2016, 10, 11, 12

should be merged to

File C
14/06/2016, 1, 2, 3
15/06/2016,  ,  ,  , 7, 8, 9
16/06/2016,4, 5, 6,  ,  ,  
17/06/2016,  ,  ,  , 10, 11, 12 

Can this be done in Octave, and if so, what is the Octave syntax?



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Concatenate-files-by-date-tp4677716.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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