📄 tan.asv
字号:
MK=importdata('running22.txt'); % 将生成的MKMATLAB.txt文件导入工作空间,变量名为MK,实际上它不显示出来
Y=0:300/(size(MK,1)-1):300;
MK1=MK(:,1);
MK2=MK(:,2);
MK3=MK(:,3);
%b=[0.125 0.125 0.5 0.125 0.125];
b=[0.2 0.2 0.2 0. 0.1];
MK4=filter(b,1,MK1);MK4(1:5)=MK1(1:5);
MK4=uint8(MK4);
MK5=filter(b,1,MK2);MK5(1:5)=MK2(1:5);
MK5=uint8(MK5);
MK6=filter(b,1,MK3);MK6(1:5)=MK3(1:5);
MK6=uint8(MK6);
figure;
subplot(611);
plot(MK1,'r');
subplot(612);
plot(MK4,'r');
subplot(613);
plot(MK2,'b');
subplot(614);
plot(MK5,'b');
subplot(615);
plot(MK3,'m');
subplot(616);
plot(MK6,'m');
MK4=double(MK4);
MK5=double(MK5);
MK6=double(MK6);
L1=lscov(MK1,MK4);
L2=lscov(MK2,MK5);
L3=lscov(MK3,MK6);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -