标签: matlab matlab-figure
阈值并确定峰之间的距离
我发出信号并确定了峰值
figure(2); [PKS,LOCS] = findpeaks(PPG); plot(t,PPG,'b-',t(LOCS),PPG(LOCS),'ro'); meanCycle = mean(diff(LOCS))
如何阈值化和识别峰之间的距离?