Lambda Function With Multiple Inputs Matlab