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

    function lcon = reconstruct(con,Xg)
%RECONSTRUCT reconstruct local boundary at operating point
%
% lcon = reconstruct(con,Xg);

%  Copyright 2008 The MathWorks, Inc. 

ngm = numel( con.Global );     % number of global models
beta = zeros( 1, ngm );
for j= 1:ngm
    beta(j) = EvalModel( con.Global{j}, Xg );
end
    
lcon = getlocal( con, beta );