Hi,
I have the following matrix called Data(size=n*1) (actually tenth of them) that I need to clean. The idea is simple:
If there is a number then no change If there is not a number then, I replace by: the previous number, if there is one. the next number, if there is no previous number.
Example Data matrix
Data=[][]20[]25[]100Result=202020202525100
Your help would be much appreiated.
Thanks
Xavier
Best Answer