?? test2.m
字號:
clear
clc
load spo2_0p2.txt;%spo2_3p.txt;%spo2_0p2.txt ;% spo2_3p.txt;spo2_0p4.txt spo2_3p.txt
result = spo2_0p2;
len=50;
t = 0:0.001:0.5;
x = 1:501;
%第二,第三個字節(jié)是紅光脈搏波數(shù)據(jù)
rdxn = result([(x-1)*5+4])*256 +result([(x-1)*5+5]);
stop = [0.1,0.1,0.1];
[imf,ort,nbits]=myemd(rdxn,t,stop,2);
imfsize=size(imf);
i=imfsize(1);
figure;
for j=1:i
subplot(i/2+1,2,j);plot(imf(j,:));
end
figure;
newrdxn=rdxn;
for k=1:i
newrdxn=newrdxn-imf(k,:);
subplot(i/2+1,2,k);plot(newrdxn);
end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -