How to identify the baseline
44 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ibrahim Suleiman
el 31 de Mzo. de 2021
Comentada: Star Strider
el 23 de Abr. de 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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/568999/image.jpeg)
0 comentarios
Respuesta aceptada
Star Strider
el 31 de Mzo. de 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 comentarios
Más respuestas (1)
Image Analyst
el 31 de Mzo. de 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);
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!