source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/extras/@lmi/boundingbox.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 432 bytes
Line 
1function [L,U,x] = boundingbox(F,ops)
2%BOUINDINGBOX Computes bounding box of a SET object
3%
4% [L,U,x] = boundingbox(F)
5
6% Author Johan Löfberg
7% $Id: boundingbox.m,v 1.1 2004/12/08 00:07:15 johanl Exp $
8
9x = recover(depends(F));
10
11if nargin < 2
12    ops = sdpsettings('verbose',0);   
13end
14
15for i = 1:length(x);
16    sol = solvesdp(F,x(i),ops);
17    L(i,1) = double(x(i));
18    sol = solvesdp(F,-x(i),ops);
19    U(i,1) = double(x(i));
20end
Note: See TracBrowser for help on using the repository browser.