MATLAB: How to change an array into the scalar of its components

arrayscalar

Lets say I have an array [1 2 3 4] How can I make this turn into 1234 ?

Best Answer

Let the i/o rtl help...
>> str2num(sprintf('%d',[1:4]))
ans =
1234
>>
Related Question