MATLAB: Concatenating 3×1 array

MATLAB

I have value like this
18.000000
11.000000
5.635000
I want it to concatenate like this
18:11:5.635
how can I do this can any body guide me.

Best Answer

Hi,
try:
result = datetime([0 0 0 18 11 5.635], 'Format', 'HH:mm:ss.SSS')
Best regards
Stephan