Hugo Rodallega headed the winner with 12 minutes remaining as Wigan - who began Survival Sunday second-from-bottom in the table - won and Blackpool and Birmingham both lost to go down.
The Latics had to withstand heavy pressure from the Potters in the first period before earning the victory - the second on the bounce for Martinez's side following two draws.