fork download
  1. f=@(x)reshape(x((t=1:end)+(2*mod(t,2)-1).*(mod(t-1,4)>1)),2,[])
  2.  
  3. f(["DJMcMayhem"; "trichoplax"])
Success #stdin #stdout 0.22s 103360KB
stdin
Standard input is empty
stdout
f =

@(x) reshape (x ((t = 1:end) + (2 * mod (t, 2) - 1) .* (mod (t - 1, 4) > 1)), 2, [])

ans =

DrMcMoylex
tJichapham