Hi,
Suppose I have a double 10x2 that contains numeric dates in the first column and numbers in the second, like below.
My goal is to change numeric dates into format 'dd-mmm-yyyy' (e.g. 01-mar 1970), but I want to do that within double 'mat'. I don't want to create any new variable.
Just simply change the format of mat(:,1). Is it possible to do that with only one code line? I tried many options, however, each ended with an error.
I would be grateful for your advices.
mat =
1.0e+05 *
7.2866 0.4346
7.2875 0.4399
7.2884 0.4434
7.2893 0.4480
7.2903 0.4497
7.2912 0.4550
7.2921 0.4582
7.2930 0.4613
7.2939 0.4648
7.2948 0.4680