From: Rahul Singhal on 13 May 2010 03:56 Hi All, I want to check whether any element of matrix is zero or not. Thanks Rahul
From: Oleg Komarov on 13 May 2010 04:07 "Rahul Singhal" <rsinghalomatic(a)gmail.com> wrote in message <hsgbb3$ik7$1(a)fred.mathworks.com>... > Hi All, > > I want to check whether any element of matrix is zero or not. > > Thanks > Rahul help all Example: A = round(rand(10)); ~all(A(:)) Oleg
From: us on 13 May 2010 05:51 "Rahul Singhal" <rsinghalomatic(a)gmail.com> wrote in message <hsgbb3$ik7$1(a)fred.mathworks.com>... > Hi All, > > I want to check whether any element of matrix is zero or not. > > Thanks > Rahul a hint: - besides ANY already mentioned by oleg... help nnz; us
|
Pages: 1 Prev: datacursormode customization Next: code operating speed is very slow |