I want to calculate the weighting coefficient matrices for first, second, third and fourth order derivatives using GDQR. I have used the MATLAB code for DQEM which is available in the "Wang" book.
But there may be some error in the code which results in the wrong calculation of one of the weighting coefficients of first and second order. So, can anyone share the technical inputs on the calculation of the weighting coefficient using GDQR?
Or else plz share the GDQR MATLAB code.