About Findchangepts function X axis values.

Hi there, I am using the matlab function 'findchangepts' and it works correctly except a simple issue. It finds the maximum changes where the values goes into y axis and sample number is on x axis. Is there any way i can change the values the x axis other than sample number? Say I have X and Y values. the function finds the change in Y values but plots it against the size of Y, doesn't take X values.
Thanks in advance.

1 Comment

You may find ischange's 'SamplePoints' helpful, although it indicates that the input x-axis points must be sorted.

Sign in to comment.

Answers (0)

Asked:

on 21 Mar 2018

Commented:

on 4 Jun 2018

Community Treasure Hunt

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

Start Hunting!