Post History
MATL, 16 bytes 1`1yh1$lZctDwQt] Try it online! The TIO output fetch will likely fail, so make sure to click the run button to stop the execution. 1`1yh1$lZctDwQt] 1` ] - Push 1 o...
Answer
#1: Initial revision
# [MATL](https://github.com/lmendo/MATL), 16 bytes ``` 1`1yh1$lZctDwQt] ``` [Try it online!](https://tio.run/##y00syfn/3zDBsDLDUCUnKrnEpTywJPb/fwA) The TIO output fetch will likely fail, so make sure to click the run button to stop the execution. ``` 1`1yh1$lZctDwQt] 1` ] - Push 1 onto stack, enter do-while 1 - Push 1 onto stack y - duplicate n-th level of stack, default is 2 h - horzcat, 1 10h -> [1;10] 1$l - ones, specifying arguments with 1$ Zc - strjoin t - duplicate top of stack D - display w - swap Q - increment by 1 t - duplicate ``` Matlab can loop infinitely using `k=1:inf`, but MATL cannot perform `[1:Y]` where `Y` is shorthand for `inf`.