文件名称:checkbounds
介绍说明--下载内容均来自于网络,请自行研究使用
%CHECKBOUNDS Move the initial point within the (valid) bounds.
% [X,LB,UB,X,FLAG] = CHECKBOUNDS(X0,LB,UB,nvars)
% checks that the upper and lower
% bounds are valid (LB <= UB) and the same length as X (pad with -inf/inf
% if necessary) warn if too long. Also make LB and UB vectors if not
% already.
% Finally, inf in LB or -inf in UB throws an error.- CHECKBOUNDS Move the initial point within the (valid) bounds. [X, LB, UB, X, FLAG] = CHECKBOUNDS (X0, LB, UB, nvars) checks that the upper and lower bounds are valid (LB < = UB) and the same length as X (pad with-inf/inf if necessary) warn if too long. Also make LB and UB vectors if not already. Finally, inf in LB or-inf in UB throws an error .
% [X,LB,UB,X,FLAG] = CHECKBOUNDS(X0,LB,UB,nvars)
% checks that the upper and lower
% bounds are valid (LB <= UB) and the same length as X (pad with -inf/inf
% if necessary) warn if too long. Also make LB and UB vectors if not
% already.
% Finally, inf in LB or -inf in UB throws an error.- CHECKBOUNDS Move the initial point within the (valid) bounds. [X, LB, UB, X, FLAG] = CHECKBOUNDS (X0, LB, UB, nvars) checks that the upper and lower bounds are valid (LB < = UB) and the same length as X (pad with-inf/inf if necessary) warn if too long. Also make LB and UB vectors if not already. Finally, inf in LB or-inf in UB throws an error .
(系统自动生成,下载前可以参看下载内容)
下载文件列表
checkbounds.m