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

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

Added original make3d

File size: 371 bytes
Line 
1function S = spy(X)
2%SPY (overloaded)
3
4% Author Johan Löfberg
5% $Id: spy.m,v 1.3 2005/11/25 14:15:14 joloef Exp $   
6
7if length(X)>1
8    S = [];
9    for i = 1:length(X)
10        S = blkdiag(S,spy(X.clauses{1}.data));
11    end   
12    if nargout == 0
13        spy(S);
14    end
15else
16    X = spy(sdpvar(X));
17    if nargout==0
18        spy(X);
19    else
20        S = X;
21    end
22end
Note: See TracBrowser for help on using the repository browser.