What is the meaning of 'Threshold' if I use the 'ischange' function?

9 ビュー (過去 30 日間)
Sandeep Kapour
Sandeep Kapour 2020 年 5 月 15 日
回答済み: Star Strider 2020 年 5 月 15 日
I want to use the function 'ischange' and there is a feature, which is called 'Threshold'. Unfortunately I do not know what 'Threshold' is doing with my dataset. If I use the value 500 or 1000, then I get few outputs. If I use the value 50 or 100, then I get lots of values.

回答 (1 件)

Star Strider
Star Strider 2020 年 5 月 15 日
The Threshold name-value pair argument is not well-documented, other than that it ‘defines the number of detected change points’, and its effect appears to depend on the method used.
For that reason, I do not routinely use it as the only criterion for the change points. With respect to the 'linear' method, I find it easier to create logical indices into the data that correspond to the slope (second output) values returned, and occasionally the intercepts (third output), depending on what I want to do.

Community Treasure Hunt

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

Start Hunting!

Translated by