a = 1:5;num = ( 10.^((numel(a)-1):-1:0) ) * a';b = num2str( num )
Standard input is empty
b = 12345
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!