help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Create a logical array of 0


From: Josep Monés i Teixidor
Subject: Create a logical array of 0
Date: Fri, 03 Sep 2004 15:23:48 +0200

Hi!

How can I create a logical array of zeros without conversions between
types?

If tried zeros(m,n,"logical") but didn't work for logical.

I'm currently using logical(zeros(m,n)) but I think this makes a
conversion from double to bool (or it is smart enough to handle it?)

Thanks in advance, 

-- 
Josep Monés i Teixidor
Clau GnuPG: gpg --recv-keys 80E85CC4

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]