source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/extras/@ncvar/fliplr.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 325 bytes |
Line | |
---|---|
1 | function X=fliplr(X) |
2 | %FLIPLR (overloaded) |
3 | |
4 | % Author Johan Löfberg |
5 | % $Id: fliplr.m,v 1.1 2006/08/10 18:00:20 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(fliplr(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.