[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: checkerboard Function in octave
From: |
Juan Pablo Carbajal |
Subject: |
Re: checkerboard Function in octave |
Date: |
Thu, 29 Nov 2012 14:49:57 +0100 |
On Thu, Nov 29, 2012 at 2:29 PM, pantxo diribarne
<address@hidden> wrote:
> Hello,
>
> I have a preliminary version of checkerboard (see attached), though I don't
> know if it conforms to ML one.
>
> Pantxo
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
>
Pancho,
Hey, thanks a lot for the initiative!
The function seems compatible to me, according to
http://www.mathworks.com/help/images/ref/checkerboard.html
The only thing I noticed the following
> unique ( checkerboard ())
ans =
0.00000
0.51000
1.00000
Shouldn't there be only 0's and 1's?
Removing the line 43 seems to fix this. Why were you doing this multiplication?