Be able to Detect Breathing

6 views (last 30 days)
David Jones
David Jones on 27 May 2021
Commented: Mathieu NOE on 1 Jun 2021
Hi
I dont have a great deal of experiance in matlab and would like some advice on detecting breathing,the samples taken in the figures attached are raw ADC inputs to matlab with no filtering , is there firstly something I could do to improve the waveforms? (pre filtering)
Also what is the best method (most reliable) to detect there is breathing and the rate of the breathing.
figures attached baseline(no one on the bed), Breathing (normal) and breathing2(shallow)
Thank you in advance for any help you can offer.
Kind Regards
David

Accepted Answer

Mathieu NOE
Mathieu NOE on 27 May 2021
hello David
yes you can clear tell that the bed is not empty and that someone is actually breathing by either saying the time signal has amplitude above 100 (so let's compute a smoothed rectified version of this signal) , this can be also observed in the frequency spectrum has you have peaks showing up between 0.1 and 1 Hz
to compite the rate of breathing you can either pick the highest amplitude peak in the fft spectrum (and find it's corresponding frequency) or you can compute the period between two zero crossing values (works also with a non zero threshold) as example attached shows
hope it helps
all the best
  14 Comments
David Jones
David Jones on 1 Jun 2021
Great thanks for all your help

Sign in to comment.

More Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!