How to extract the time interval from areas of interest from a signal?

조회 수: 2 (최근 30일)
Hello! I have a blood pressure signal that looks like this:
and I want to find the time interval for each descent part ( in my case 4 intervals). But I don't know how since it doesn't have any pattern. If anyone can, please help me. Thank you.
  댓글 수: 1
Star Strider
Star Strider 2015년 11월 10일
It actually has a pattern, but you do not have a time vector in your file. You might be able to recover the time vector if you know what the heart rate was.

댓글을 달려면 로그인하십시오.

채택된 답변

Image Analyst
Image Analyst 2015년 11월 8일
First you have to filter out the outliers. How are you doing that? Perhaps a median filter might work if they're not too close together. Then you can just invert the image and use findpeaks(). I can't do it because you didn't attach the actual data.
  댓글 수: 5
Image Analyst
Image Analyst 2015년 11월 10일
Something went wrong with your original picture you attached. Please fix it.
Image Analyst
Image Analyst 2015년 11월 10일
Try this. Let me know how it goes:
signal = xlsread('presiune.xlsx');
plot(signal, 'b-');
[values, indexes] = findpeaks(-signal, 'MinPeakProminence', 25);
grid on;
hold on;
stem(indexes, 50*ones(1, length(indexes)));

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Signal Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by