📄 plus.m
字号:
function sum = plus(con1,con2)
% Compute the Vector sum of two linearcon object
%
% test code, derived from 'Invariant Set Toolbox' by Kerrigan
% it seems not work in some cases,
% so I switch to point method.
v1 = vertices(con1);
v2 = vertices(con2);
v3 = v1 + v2;
sum =polyhedron(v3);
return
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -