I want to use DWT for feature extraction of heart sound anaysis , can anyone help me through matlab code??
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
My paln is to identfy human based on their heart sound , for this i applied preprocessing of heart sound by DWT level four with db10 , for feature extraction i want to get the matlab code
0 comentarios
Respuestas (1)
Suraj Kumar
el 19 de Feb. de 2025
To use the Discrete Wavelet Transform (DWT) for feature extraction in heart sound analysis using MATLAB, you can go through the following steps:
1. You can load your sound signal into the MATLAB workspace using "load" function in MATLAB.
2. Use the "wavdec" function in MATLAB to decompose the heart sound signal into wavelet coefficients and retrieve the approximate and detailed coefficients from the DWT output.You can use the "appcoef" and "detcoef" functions in MATLAB for this.
3. Now you can extract the features like mean and standard deviation using these coefficients.
You can refer to the attached code snippet for better understanding:
waveletName = 'db4';
decompositionLevel = 4;
[coeffs, levels] = wavedec(heartSound, decompositionLevel, waveletName);
approximation = appcoef(coeffs, levels, waveletName);
details = detcoef(coeffs, levels, 1:decompositionLevel);
Hope this works for you!
0 comentarios
Ver también
Categorías
Más información sobre Wavelet Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!