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

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

Added original make3d

File size: 298 bytes
Line 
1function Y=reshape(varargin)
2%RESHAPE (overloaded)
3
4% Author Johan Löfberg
5% $Id: reshape.m,v 1.2 2006/07/13 19:40:59 joloef Exp $
6
7Y = varargin{1};
8% simple hack to figure out new sizes
9temp = reshape(ones(size(Y.basis,1),1),varargin{2:end});
10Y.conicinfo = [0 0];
11Y.dim = size(temp);
12Y = clean(Y);
Note: See TracBrowser for help on using the repository browser.