📄 cir_to_cs.m
字号:
function [CS] = CIR_to_CS(CIR,a,b,c)
% a,b,c is boundary to make decision of CS that is used
% CS <= a use CS1 ==> output = 1
% a < CS <= b use CS2 ==> output = 2
% b < CS <= c use CS3 ==> output = 3
% CS > c use CS4 ==> output = 4
CS=CIR;
index=find(CS<=a);
CS(index)=1;
index=find(CS>a&CS<=b);
CS(index)=2;
index=find(CS>b&CS<=c);
CS(index)=3;
index=find(CS>c);
CS(index)=4;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -