Dynamic-Calibration/utils/YALMIP-master/modules/global/powerbound.m

6 lines
186 B
Mathematica
Raw Permalink Normal View History

2019-12-18 11:25:45 +00:00
function bound = powerbound(lb,ub,powers)
vars = find(powers);
bound = [1 1];
for k = 1:length(vars)
bound = intvmul(bound,intvpower([lb(vars(k)) ub(vars(k))],powers(vars(k))));
end