Research Article

Cooperative Spectrum Sensing and Localization in Cognitive Radio Systems Using Compressed Sensing

Algorithm 1

Orthogonal matching pursuit (OMP) pseudocode.
Require: Measurement matrix , measurement vector , sparsity level
(1) Initialize: As a first step, initialize and the residual repeat times:
(2) Identify: Select the largest coordinate of in absolute value. Break ties lexicographically.
(3) Update: Add the coordinate to the index set: and update the residual according to:
         
(4) return: Index set