I want to frame a higher order Central difference scheme of about $20^{th}$ order for first derivative. I'm using $20^{th}$ order because I need one scheme with good modified wave number. To find the co-efficient matrix (eg. for CD-2 it is [-1/2,1/2]), I have to solve $Ax=b$ equation. $x=A^{-1}*b$. I tried to solve that equation using
Build-in inverse (inv(A)) command of matlab,
"solve" command in R,
Gauss Seidel algorithm,
Gauss Seidel and Jacobi may fail because of the matrix is not diagonally dominant. Matlab gave answer with a warning and that answer is wrong. R- gave an error message because of poor conditional number.
Matrix $A$ is $20*20$ matrix :
Matrix $b$ is $20*1$ matrix
Is there any sophisticated algorithm or build-in command of any programming language to solve this? Please help me out.