Clear Filters
Clear Filters

filtering Recorded Lung Noise

5 views (last 30 days)
Hi, I'm a last year student , my final project is Analysis of Lung Sound. i've recorded an Lung sound using a electret microphone Pre-Amp an amplifier and a few filters. the sound which i recorded is Noisy and looks like :
during last two weeks im trying to get rid of this noisy peaks , to get more smooth and noiseless sound. any suggestions ?
i think if i could follow the contour
maybe it can get good results. i don't know how to do it.

Accepted Answer

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh on 3 Jun 2015
Have you tried filtering your data, very simply with a low pass filter?
I've attached a recursive single pole low pass filter which I wrote and it's pretty fast as it's recursive.
It's also easy to use, you pass the data, sampling frequency, and the cut off frequency, it should have a manual anyways.
Give it a try and let me know if you encountered a prob.
Good luck!
cob on 3 Jun 2015
thank you for you reply , but this is not well satisfying , i just cant filter this high distorted peaks. im uploading 2 samples of my recordings.
Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh on 3 Jun 2015
Edited: Salaheddin Hosseinzadeh on 3 Jun 2015
You shouldn't have accepted my answer if it was not answering your question! I just tried the samples you attached! I tried sgolayfilt() as well as the low pass filter. I am clue less non of the worked
Please have a look at Star Strider comment.
Also, I suggest you post another question, and don't accept the answers till you get what you want. You can vote for answers to show your appreciation if you want ;)

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!