Hi,
I have a matrix called data (3652500 x 3). But data matrix dont have the header (i.e. names).
I want to insert column headers as shown below and write the output to a text file inserting 4th column from another matrix called output (3652500 x 1). I need to insert the output matrix in the 4th column of data matrix with 3 spaces between 3rd columns and 4th column. (See the header and sample rows below)
DATE TMAX TMIN RAIN3000001 -99.9 -99.9 0.63000002 -99.9 -99.9 0.5
How can I do it MATLAB.
Any help is appreciated.
Thanks.
Best Answer