How To Make A Function With Input Variable In Matlab