How to identify the baseline

44 次查看(过去 30 天)
I have force-time graph and I want to identify the baseline. How can I do this? Is there a function to find the baseline?

采纳的回答

Star Strider
Star Strider 2021-3-31
Since the baseline appears to be the minimum value, the min function may do what you want. There are similar functions that can extend that approach if you need to use them.
  9 个评论
Ibrahim Suleiman
Ibrahim Suleiman 2021-4-23
Thank you for your help. This aproach makes the most sense to me.

请先登录,再进行评论。

更多回答(1 个)

Image Analyst
Image Analyst 2021-3-31
Maybe mask the signal to find values below a threshold and then take the mean
threshold = 10; % Or whatever.
baselineIndexes = abs(signal) < threshold;
baseLineValue = mean(signal(baselineIndexes));
yline(baseLineValue, 'Color', 'r', 'LineWidth', 2);

标签

Community Treasure Hunt

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

Start Hunting!

Translated by