A hard disk drive that utilizes a third order curve fit equation to
generate a skew table for a head of a hard disk drive. The skew table is
used to compensate for offset between a write element and a read element
of the head at different radial positions of a disk. A linear algebraic
matrix equation can be used to solve the third order equation using
offset values measured at different radial positions of the disk.