A method for real-time compensation of magnetometers embedded on smartphones | IEEE Conference Publication | IEEE Xplore