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

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

Added original make3d

File size: 214 bytes
Line 
1function anys = any(x)
2%ANY (overloaded)
3
4% Author Johan Löfberg
5% $Id: any.m,v 1.1 2006/08/10 18:00:19 joloef Exp $ 
6
7x_base = x.basis;
8anys = full(sum(abs(x.basis),2)>0);
9anys = reshape(anys,x.dim(1),x.dim(2));
Note: See TracBrowser for help on using the repository browser.