Create a matrix with columns of both datetime and double format
51 views (last 30 days)
I want to create a matrix with these vectors:
a = [21-Mar-2021 07:44
b = [21
When I try the following sentence, MATLAB gives me an error:
Error using datetime/horzcat (line 1335)
All inputs must be datetimes or date/time character vectors or date/time strings.
I don't know how to merge both columns in a single matrix. Can you help me?