How to choose MaxNumChanges when using findchangepts

3 次查看(过去 30 天)
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 个评论
Greg Dionne
Greg Dionne 2018-6-4
You may find this answer helpful:
https://www.mathworks.com/matlabcentral/answers/351954-what-does-minthreshold-parameter-explain-in-findchangepts-function-in-matlab2017r

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multirate Signal Processing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by