I have a problem. I need to find if char contains 'am' or 'pm' in it. I have a string '08:09am' and '12:02pm'. Problem is that this is packed in array of 256 simmilar strings. My task is to covert this strings to numbers but i can't really do it.
MATLAB: How to convert array of chars examples: ’09:56am’ or ’09:56pm’ to number
array. char. pm. am. number. string.
Best Answer