MATLAB: How can i concatenate two or more flaoting numbers to a single number without rounding them

concatenatefloating numbers

I have some set of 60 floating number mixed with integers. I want to concatanate those numbers into a single number. How can I achieve this?
For Example : Here I have a set of 5 floating numbers
n=[ 1.0000 0.2345 1.2564 0.0125 0.0014]
So my aim here is to concatenate them without rounding them individually so i would turn them as '123451256401250014' and also while concatenating the numbers such as 0.0014 and 1.0000 should be considered as 0014 and 1, not as 00014 and 10000 respectively.

Best Answer

s=sprintf('%g',n);
s=strrep(s,'0.','');
s(s=='.')=[];
>> disp(s)
123451256401250014
>>