•
•>> bp,k = emargin (P,K); % given P and K, compute bP,K 
•>> [Kopt, bp,k ]=ncfsyn(P,1); % find the optimal controller Kopt.
•>> [Ksub, bp,k ] = ncfsyn(P,2); % find a suboptimal controller Ksub.