找到以下信号的导数

时间:2019-05-27 14:38:23

标签: matlab matlab-figure

我发现了峰顶和峰顶之间的距离

figure(2);
[PKS,LOCS] = findpeaks(PPG);
plot(t,PPG,'b-',t(LOCS),PPG(LOCS),'ro','LineWidth',2); 
grid on; 
xlabel('Tiempo (seg)'); 
ylabel('PPG');

meanCycle = mean(diff(LOCS))

我发现了峰顶和峰顶之间的距离

图:enter image description here

0 个答案:

没有答案