How to choose MaxNumChanges when using findchangepts

1 Ansicht (letzte 30 Tage)
Gianluca Finotti
Gianluca Finotti am 27 Apr. 2018
Kommentiert: Greg Dionne am 4 Jun. 2018
Hi, I am using findchangepts to find the points where a signal changes the most. This is not really an electric signal. These are participant's responses through time using a potentiometer. So, on a table I have a linear slide potentiometer like this:
Participants are using this to rate whether a particular feeling during the experiment is increasing or decreasing.
I am using findchangepts to understand when there are significant changes in their response. I arbitrarily choose MaxNumChanges, 4. This is the line of code:
findchangepts(myVar,'Statistic','linear','MaxNumChanges',4)
The result seems quite good. Given what I expected, it seems to make sense:
However, the error seems to be huge. Also, I don't know if I can show this in a publication. I expect reviewers to ask me why did I choose 4 points and not 2 or 10, and also why I have such a huge error.
So, does anybody know how can choose the MaxNumChanges and what would be an acceptable error?
Thank you for your time, Gianluca
  1 Kommentar
Greg Dionne
Greg Dionne am 4 Jun. 2018
You may find this answer helpful:
https://www.mathworks.com/matlabcentral/answers/351954-what-does-minthreshold-parameter-explain-in-findchangepts-function-in-matlab2017r

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by