Analysis of Opportunistic Localization Algorithms Based on the Linear Matrix Inequality Method