octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #62978] [octave forge] (image) applylut & make


From: Avinoam Kalma
Subject: [Octave-bug-tracker] [bug #62978] [octave forge] (image) applylut & makelut are not MATLAB compatible
Date: Sun, 25 Sep 2022 04:42:29 -0400 (EDT)

Update of bug #62978 (project octave):

                 Summary: [octave forge] (image) applylut is not MATLAB
compatible => [octave forge] (image) applylut & makelut are not MATLAB
compatible

    _______________________________________________________

Follow-up Comment #1:

makelut is also not MATLAB compatible:

In Octave:


>> f = @(x) (x(1,1) == 1);
>> lut = makelut (f, 2)'
lut =

   0   0   0   0   0   0   0   0   1   1   1   1   1   1   1   1


while MATLAB result is:


lut =

   0   1   0   1   0   1   0   1   0   1   0   1   0   1   0   1


Though applylut & makelut are compatible with each other.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62978>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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