?? issubset.m
字號:
function result = issubset(a,b)% Determine whether or not the intersection of two linear constraint objects% exists.%% Syntax:% "C = issubset(a,b)"%% Description:% "issubset(a,b)" returns a "1" if "a" a subset of "b" and% "0" otherwise.%% Examples:% Given two linear constraint objects, "a" representing a square in the% x3 = 0 plane with corners at (x1,x2) pairs (2,1), (2,3), (4,3), and% (4,1) and "b", another square in the same plane with corners at (2,1),% (2,2), (3,1), and (3,2), %%%% "C = issubset(a,b)"%%%% returns "1".%% See Also:% linearcon,and, isfeasibleif isa(b,'polyhedron') b = linearcon(b);endif isa(b,'linearcon') c = subseteq(a,b);else c = 0;endresult = c;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -