powered by
matlabColon(from, to)
seq
identical(3:5, matlabColon(3, 5)) ## => TRUE 3:1 ## => 3 2 1 matlabColon(3, 1) ## => numeric(0)
Run the code above in your browser using DataLab