From: Edwin on
hello everybody,
if I have the next matrix
M=[
2007 8 13 4.6
2007 8 15 0
2007 8 19 4.50
2007 8 19 4.5
2007 8 19 4.4
2007 8 19 4.4
]
anyone have idea of a way to add missing dates in columns 1 through 3 and zero in the 4th column
for example the output should look like
M=[
2007 8 13 4.6
2007 8 14 0
2007 8 15 0
2007 8 16 0
2007 8 17 0
2007 8 18 0
2007 8 19 4.50
2007 8 19 4.5
2007 8 19 4.4
2007 8 19 4.4
]

thanks in advance.