标数字1的位置表示脉搏波异常。
% 参考:A Signal Abnormality Index for Arterial Blood PressureWaveforms
clc; clear; close all;
load ('G:\2023_07_02_20_18_11'); % ibp_data
[onset, pk] = wabp(ibp_data,0,100,125);
ibp_data=ibp_data/100; % 换算成压力
% 特征提取
Ps = nan(size(onset)); % systolic blood pressure
Pd = nan(size(onset)); % diastolic blood pressure
Pp = nan(size(onset)); % Pulse pressure
Pm = nan(size(onset)); % mean arterial pressure
T = nan(size(onset)); % duration of each beat
f = nan(size(onset)); % heart rate( 60