Location:
Search - checkboun
Search list
Description: %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 .
Platform: |
Size: 1024 |
Author: 张风 |
Hits: