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 (none), 14 years ago

Added original make3d

File size: 325 bytes
Line 
1function 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
7n  = X.dim(1);
8m  = X.dim(2);
9nm = n*m;
10for i = 1:length(X.lmi_variables)+1
11  X.basis(:,i) = reshape(fliplr(reshape(X.basis(:,i),n,m)),nm,1);
12end
13% Reset info about conic terms
14X.conicinfo = [0 0];
15
Note: See TracBrowser for help on using the repository browser.