A Method for Eliminating the Baseline Drift of ECG Signal Based on Sparse Matrix
A sparse matrix and baseline drift technology, applied in medical science, diagnosis, diagnostic recording/measurement, etc., can solve problems such as difficulty in threshold value selection, loss of decomposition results, and great signal influence, so as to maximize the use of data and reduce data loss. Complexity, the effect of eliminating baseline drift
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] This embodiment discloses a method for eliminating baseline drift of an ECG signal based on a sparse matrix, which specifically includes the following steps:
[0024] S01), load the ECG data, the ECG data is input in the form of matrix S, the matrix S is the data of N rows and 1 column, and all the data of the extracted matrix S is y, N=length(y), indicating the length of the loaded data ;
[0025] S02), setting the cutoff frequency fc of the filter, the filter order d, the ratio coefficient r, and setting the constraint parameters α and λ;
[0026] S03), calculate banded sparse matrix A, B, calculation process is: set parameter matrix a1, b1, define Omc=2*π*fc, t=((1-cos(omc)) / (1+cos(omc ))) d , and then perform d convolution operations on matrix a1, b1 respectively to obtain a2, b2, and then perform convolution operation on b2 and [-1 1] to obtain matrix b, matrix a=b+t*a2, use matrix a, b Perform sparse operations on A and B matrices to obtain two sparse banded ma...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
