About Findchangepts function X axis values.

1 view (last 30 days)
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
Greg Dionne
Greg Dionne on 4 Jun 2018
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)

Community Treasure Hunt

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

Start Hunting!

Translated by