-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathECG.m
More file actions
52 lines (40 loc) · 720 Bytes
/
ECG.m
File metadata and controls
52 lines (40 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
% clc
% clear all
%
% %t=[.5 .7 1.4 .9 .5 .5 -.5 11 -4 .5 .5 .5 1.1 1.9 2 1 .5 .5 .9 .5];
% %x=[t t t t t t t t t t t t t t t t t t t t t t t t t t]; %// 2*20=40 caracteres vector de 4
% %t=[1:1:400]; %de 1 a 40 de 1 en 1
% % ti=0:0.001:40;
% % x1=interp1(t,x,ti,'pchip');
% % plot(x1)
%
%
%
%
% for n=1:1000;
% u=n/2;
% p=round(15*rand);
% %V=interp1(n,p,t, 'pchip');
% plot(n,p,'r*')
% end
%
%
%
%
% s=x;
% for i=1:1000
% s=[s x];
% end
%
% for n=1:5000;
% l1=s(0+n:39+n);
% x4=interp1(t,l1,ti,'pchip');
% plot(x4,'c')
% grid on
% end
%
% for n=1;41;
% p=n/2;
% L=interp1(t,p,ti,'pchip')
% plot(L,'r*')
% end