 Mathie scored 16 goals in 45 games in the 1997–98 season, and hit a hat-trick in a 5–0 win over rivals Norwich City on 21 February.The "Tractor Boys" reached the play-offs, but were beaten over two legs by Charlton Athletic.Mathie scored twice in the opening ten games of the 1998–99 season, before he was sold on to Paul Sturrock's Dundee United for around £700,000 in October 1998.