MATLAB Answers

how to convert the mutiple colum into single colum using colon :

2 views (last 30 days)
the table given above is the three column represent hour minute second in separate column i want to combine into single column separated by colon(:) given below format
output:
0:0:0.0180
0:0:0.0380
0:0:0.0580
0:0:0.0780
0:0:0.0980
0:0:0.1180
0:0:0.1380
0:0:0.1580
0:0:0.1780

Accepted Answer

Walter Roberson
Walter Roberson on 28 Jan 2020
duration(YourData(:,4), YourData(:,5), YourData(:,6), 'format', 'hh:mm:ss.SSSS')
  8 Comments

Sign in to comment.

More Answers (1)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!