www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@conellipsoid/not.m

    function c = not( c )
%NOT Logical NOT of an ellipsoid constraint (inverse of an ellipsoid)
%
%  C = NOT(C) is the inverse of the constraint C, i.e., a point X is in
%  NOT(C) if and only if it is outside of C.
%  
%  See also CONBASE/AND, CONBASE/OR, CONBASE/XOR, CONBOOLEAN.

%  Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc.


c.scalefactor = -c.scalefactor;