is there a way to put some threshold and count the number of times whenever the signal becomes above the threshold?
    5 次查看(过去 30 天)
  
       显示 更早的评论
    
is there a way to put some threshold and count the number of times whenever the signal becomes above the threshold, and depending on the number of times it takes some decision automaticlly
6 个评论
回答(2 个)
  Image Analyst
      
      
 2022-12-14
        [L, count] = bwlabel(data >= someThresholdValue)
count is the number of runs of your data at or above the threshold value.
0 个评论
另请参阅
类别
				在 Help Center 和 File Exchange 中查找有关 Audio Processing Algorithm Design 的更多信息
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!