I've got a time-series that looks something like the picture below, but with added noise. I want to use some AI or statistical method to categorize subsets of the time-series according to shapes. Like "box" or "ramp". Not all ramps have the same slope, but if I can detect "slope" and "step change", I can combine that into "ramp".
I just want to get started with some preliminary results and take it from there, so I've been looking for software or simple algorithms that would perform this classification. I've tried a few programs that run in matlab, but they don't work. Can you recommend some program or algorithm that would work well with this problem?