[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Create a logical array of 0
From: |
Josep Monés i Teixidor |
Subject: |
Re: Create a logical array of 0 |
Date: |
Fri, 03 Sep 2004 16:00:02 +0200 |
On dv, 2004-09-03 at 15:23, Josep Monés i Teixidor wrote:
> If tried zeros(m,n,"logical") but didn't work for logical.
>
Neither did repmat([false],m,n).
BTW, "repmat(false,m,n)" fails with an error (I'm not sure if it should
but I think I'd got be good not to):
octave:15> repmat(false,10,10)
error: invalid data type specified
error: unable to find matching native data type for logical
error: evaluating binary operator `*' near line 58, column 13
error: evaluating assignment expression near line 58, column 9
error: evaluating if command near line 55, column 5
error: evaluating if command near line 54, column 3
error: called from `repmat' in file
`/home/josep/binaries/octave/share/octave/2.1.58/m/general/repmat.m'
--
Josep Monés i Teixidor
Clau GnuPG: gpg --recv-keys 80E85CC4
signature.asc
Description: This is a digitally signed message part
- Create a logical array of 0, Josep Monés i Teixidor, 2004/09/03
- Re: Create a logical array of 0,
Josep Monés i Teixidor <=
- Re: Create a logical array of 0, David Bateman, 2004/09/03
- Re: Create a logical array of 0, John W. Eaton, 2004/09/03
- Re: Create a logical array of 0, David Bateman, 2004/09/03
- Re: Create a logical array of 0, David Bateman, 2004/09/03
- Re: Create a logical array of 0, John W. Eaton, 2004/09/03
RE: Create a logical array of 0, Randy Gober, 2004/09/03
Re: Create a logical array of 0, David Bateman, 2004/09/03