Converting time from 24-hour to 12-hour format with AM/PM in MATLAB tables?
18 views (last 30 days)
Show older comments
Hi,
I am working with MATLAB tables and trying to convert a column vector containing time information from 24-hour format to 12-hour format with AM/PM. I have tried several ways of doing it as written in MATLAB questions/help but none seems to work.
Attached is the screenshot of a dummy dataset. The original column is how my data look like and I want to covert it like Converted column. Any help would be highly appreciated.

0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!