필터 지우기
필터 지우기

how to untilt my graphed data?

조회 수: 3 (최근 30일)
cocopuffs
cocopuffs 2015년 4월 20일
댓글: Star Strider 2015년 4월 22일
Hello guys.
So I had some respiratory flow rate vs. time. I needed to find to graph volume of ventilation vs. time so I took the running integral of the flow rate data. However, taking this running integral results in volume data that is tilted. I need to untilt the data before analyzing it but I was unsure how to do it. The help would be greatly appreciated. I used cumtrapz to integrate the flow rate data.
Also, I attached an image of the graph as it may help.

채택된 답변

Star Strider
Star Strider 2015년 4월 20일
It looks as though you are integrating a constant as well as your data. I don’t have your data so I can only suggest possible approaches.
The easiest approach would be to subtract the mean of ‘flow_data’ from ‘flow_data’ before you do the integration.
A more complicated approach would be to use a highpass or bandpass filter on the integrated data to eliminate the descending baseline.
  댓글 수: 8
cocopuffs
cocopuffs 2015년 4월 22일
Great, awesome help.
Star Strider
Star Strider 2015년 4월 22일
As always, my pleasure!

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

추가 답변 (1개)

Chad Greene
Chad Greene 2015년 4월 20일
What about detrend?
  댓글 수: 1
cocopuffs
cocopuffs 2015년 4월 20일
Yes I tried it, but results is similar to subtracting the mean.

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

카테고리

Help CenterFile Exchange에서 Construction에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by