source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/extras/@ncvar/brutepersp.m
Last change on this file was 37, checked in by , 14 years ago | |
---|---|
File size: 290 bytes |
Line | |
---|---|
1 | function X=brutepersp(X,t,y) |
2 | |
3 | % Author Johan Löfberg |
4 | % $Id: brutepersp.m,v 1.1 2006/08/10 18:00:19 joloef Exp $ |
5 | |
6 | X.basis = [zeros(size(X.basis,1),1) X.basis]; |
7 | X.lmi_variables = [t y]; |
8 | [i,j] = sort(X.lmi_variables); |
9 | X.basis = X.basis(:,[1 1+j]); |
10 | X.lmi_variables = i; |
11 | X.conicinfo = [0 0]; |
Note: See TracBrowser
for help on using the repository browser.