www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@conrange/nFeatures.m
function n = nFeatures(con) %NFEATURES Number of features (parameters) in a (local) constraint % % N = NFEATURES(CON) is the number of features (parameters) of the local % constraint CON. % % See also CONRANGE, % CONRANGE/GETFEATURES, % CONRANGE/SETFEATURES. % Copyright 2005 The MathWorks, Inc. and Ford Global Technologies, Inc. n = 2 * nActiveFactors( con );