Code covered by the BSD License
function v=mnmxfun(w) global L fc fab ind % ind=find((1:L)~=fc); v=zeros(L-1,1); lc=1; for indc=ind v(lc)=sum(w.*fab{indc})-sum(w.*fab{fc}); lc=lc+1; end
Contact us at files@mathworks.com