フィルターのクリア

how to untilt my graphed data?

5 ビュー (過去 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 Center および File ExchangeConstruction についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by