Size Inputs Must Be Scalar. Matlab