Research Article
Cooperative Spectrum Sensing and Localization in Cognitive Radio Systems Using Compressed Sensing
Algorithm 2
Compressive sampling matching pursuit (CoSaMP) pseudocode.
Require: Measurement matrix , measurement vector , sparsity level | (1) Initialize: Set , , . | Repeat the following steps while increasing until achieving halt criterion. | (2) Signal Proxy: Set , and merge the support | (3) Signal Estimation: Solving a least squares problem, set: and | (4) Prune: Preparing the next iteration, set | (5) Sample Update: Update the samples by: | (6) return: -sparse reconstructed vector |
|