Can any one help me to set an adaptive threshold using matlab code?
8 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/193039/image.jpeg)
Actually, I need to discriminate fault from power swing, voltage instability and load encroachment with the help of threshold setting. All the conventional threshold settings are considered based on the measured impedance, decaying dc component in the input signal etc. But, I need an adaptive threshold setting which means the system automatically set the threshold based on the type of event.
0 个评论
回答(1 个)
Sean de Wolski
2018-8-2
Perhaps look at ischange or islocalmax/findpeaks.
2 个评论
Sean de Wolski
2018-8-2
编辑:Sean de Wolski
2018-8-2
findpeaks has a bunch of name-value pairs you can set that force a peak to be a certain prominence, width, etc...
See the input list in the documentation:
doc findpeaks
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!