hello,
I have 40 years of data and have used your code in MATLAB to get a breakpoint year, I would like to calculate the trend values (just like beta value in slope analysis) for the two periods before and after the breakpoint separately, can this code display the trend values?