source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/@sdpvar/any.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 214 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | function anys = any(x) |
2 | %ANY (overloaded) | |
3 | ||
4 | % Author Johan Löfberg | |
5 | % $Id: any.m,v 1.2 2006/07/26 20:17:57 joloef Exp $ | |
6 | ||
7 | x_base = x.basis; | |
8 | anys = full(sum(abs(x.basis),2)>0); | |
9 | anys = reshape(anys,x.dim(1),x.dim(2)); |
Note: See TracBrowser
for help on using the repository browser.