Function Create A Vector Input Matlab