source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/@sdpvar/flipud.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 325 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | function X=flipud(X) |
2 | %FLIPUD (overloaded) | |
3 | ||
4 | % Author Johan Löfberg | |
5 | % $Id: flipud.m,v 1.4 2006/07/26 20:17:58 joloef Exp $ | |
6 | ||
7 | n = X.dim(1); | |
8 | m = X.dim(2); | |
9 | nm = n*m; | |
10 | for i = 1:length(X.lmi_variables)+1 | |
11 | X.basis(:,i) = reshape(flipud(reshape(X.basis(:,i),n,m)),nm,1); | |
12 | end | |
13 | % Reset info about conic terms | |
14 | X.conicinfo = [0 0]; | |
15 |
Note: See TracBrowser
for help on using the repository browser.