How to identify the baseline

55 Ansichten (letzte 30 Tage)
Ibrahim Suleiman
Ibrahim Suleiman am 31 Mär. 2021
Kommentiert: Star Strider am 23 Apr. 2021
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?

Akzeptierte Antwort

Star Strider
Star Strider am 31 Mär. 2021
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 Kommentare
Ibrahim Suleiman
Ibrahim Suleiman am 23 Apr. 2021
Thank you for your help. This aproach makes the most sense to me.
Star Strider
Star Strider am 23 Apr. 2021
As always, my pleasure!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Image Analyst
Image Analyst am 31 Mär. 2021
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);

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by