Identify two linear trends from the data
Mostrar comentarios más antiguos
Hello, I have the following data as an example which is attached in this question. I would like to obtained two linear trends and estimate the break point between the two curves like the image below (which is one example I have already obtained). Both lines should represent the best fit with lower residuals. I will have to automatized the procedure based on different conditions but this example would be just one case.
load data_example.mat
x=data_example(:,1) % x data is already in log values
y=data_example(:,2) % y data is already in log values

I would appreciate the help.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Scopes and Data Logging en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

