fork download
  1. a = 1:5;
  2. num = ( 10.^((numel(a)-1):-1:0) ) * a';
  3. b = num2str( num )
Success #stdin #stdout 0.19s 65184KB
stdin
Standard input is empty
stdout
b = 12345