I have 4 variables with type duration. for example they have sizes a=1×2 duration b=0x1 duration c=0x1duration, d=1×20 duration (not always these sizes). How can i put them in an array or matrix then sort them.
I tried A=sort([a;b;c;d])
but I get the error
Error using duration/horzcat (line 612)
Dimensions of arrays being concatenated are not consistent.
I would appriciate any suggestions
Thanks in advance!