|
Algorithm 1. CS-OMP algorithm for breathing signal. |
|
Input: perception matrix , Observation vector y, Signal spectrum peak frequency , and the noise boundary . |
|
Output: 1-sparse reconstructed signal for x, . |
-
1:
Initialization residual , , index matrix .
-
2:
Find the index corresponding to the residual , and the maximum value of the column inner product of the measurement matrix such that ;
-
3:
Update index matrix and ;
-
4:
Calculate the least squares solution, ;
-
5:
Update ;
-
6:
If , return to Step 1. Otherwise, reconstruct the signal x by using ;
-
7:
If the reconstructed signal spectrum is , stop, output . Otherwise, return to Step 2.
|