Step Input Matlab Function Format