Solve Function Matlab Numerically