ineqelim_bak.m
来自「线性M3网络及其示意图」· M 代码 · 共 26 行
M
26 行
function MM=IneqElim(P)
global M BM
% A*x>b
for p=1:size(P,1)
for i=1:size(M,1)
for j=1:size(M{1},1)
if( linearM3(P(p,1),P(p,2))== linearDist(P(p,:),M{i}{j}) ) % if M3 output = linearDist
BM{i}{j}(5)=1; % 1 will not be elim
end
end
end
end
MM=[];%no use
celldisp(BM);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?