How to choose MaxNumChanges when using findchangepts
3 views (last 30 days)
Show older comments
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 Comment
Greg Dionne
on 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
Answers (0)
See Also
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!