MATLAB: How to append several elements to a single element in an array

appendarrayconcatenateelementmerge

I have an array like:
A = [1 2 3 4 5 6 7 8 9 10];
I want to merge all the elements into a single element, like:
A = [12345678910];
but I cannot see any clear way to do so, as functions like 'reshape' or 'horizcat' simple place all the elements vertically, instead of appending all the values into one long element.
Any help would be really appreciated!
Thanks.

Best Answer

%%to see the complete number with all digits
format longg
str2double(strjoin(string(A),''))