help-octave
[Top][All Lists]
Advanced

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

Re: elementwise boolean operations


From: Judd Storrs
Subject: Re: elementwise boolean operations
Date: Sat, 22 May 2010 10:27:03 -0400

On Fri, May 21, 2010 at 2:54 PM, Jaroslav Hajek <address@hidden> wrote:
> In 3.3.51+, one possible option is to use bitunpack:
>
> octave:1>N = 4; reshape (bitunpack (int32 (0:2^N-1)),32,[])'(:,N:-1:1)

Aha! I kept looking for those. I thought I remembered you announcing
having created them but I couldn't remember what they were called and
my google-fu was weak. They're not in the online manuals or NEWS.


--judd


reply via email to

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