How to identify the baseline
조회 수: 57 (최근 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?
댓글 수: 0
채택된 답변
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
추가 답변 (1개)
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);
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!