How to split data into different regions and then add trend line to each region

1 view (last 30 days)
Hi,
I have a set of data and I want to split in into three different parts and then add a trendline to the first two parts to calculate the slope of each part.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!