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

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

Added original make3d

File size: 275 bytes
Line 
1function issym=issymmetric(X)
2%ISSYMMETRIC Check if variable is symmetric
3
4% Author Johan Löfberg
5% $Id: issymmetric.m,v 1.2 2004/07/02 08:17:31 johanl Exp $
6
7[n,m] = size(X);
8issym = 0;
9
10if (n==m)
11  issym = norm(X-X',1)<1e-10; % Should be scaled with size maybe
12end
13
14 
15 
Note: See TracBrowser for help on using the repository browser.