I am looking for an Algorithm (the formulas; not the code) to convert from ECEF coordinates to ECI coordinates.
I have a MATLAB code for it but am unable to understand certain things. So it'd be helpful if I could get the Algorithm in mathematical form (preferably along with the derivation).