How to choose MaxNumChanges when using findchangepts

1 回表示 (過去 30 日間)
Gianluca Finotti
Gianluca Finotti 2018 年 4 月 27 日
コメント済み: Greg Dionne 2018 年 6 月 4 日
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 Center および File ExchangeSmoothing and Denoising についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by