sequence ok

matlab-like function from:by:to