Clear Filters
Clear Filters

finding the height of peaks in ppg signal

2 views (last 30 days)
Mayukh Biswas
Mayukh Biswas on 29 Jun 2021
Commented: Mayukh Biswas on 29 Jun 2021
how can i find the height of the highest peaks in this signal?

Answers (1)

Prakhar Rai
Prakhar Rai on 29 Jun 2021
You could use findpeaks() to find height of the highest peaks.
Please go through these documentations: findpeaks peakAnalysis
  1 Comment
Mayukh Biswas
Mayukh Biswas on 29 Jun 2021
s11v2=xlsread('s11_v2_128Hz_ppg_happy.xlsx','Sheet1','A1:B8064');
time=s11v2(:,1);
amplitude=s11v2(:,2);
plot(time,amplitude);
num=[1 1 1 1 1 1 1 1];
den=[8 0];
y=filter(num,den,amplitude);
plot(time,amplitude,time,y);
xlim([0 5])
y1 = highpass(y,1,128);
figure
plot(y1)
findpeaks(y1)
i need the code to find the height of these peaks urgently

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!