Identify two linear trends from the data
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Scopes and Data Logging dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

