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

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

[Octave-bug-tracker] [bug #58832] [octave forge] (image) No BISTs in ira


From: Avinoam Kalma
Subject: [Octave-bug-tracker] [bug #58832] [octave forge] (image) No BISTs in iradon
Date: Mon, 21 Dec 2020 12:10:25 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36

Follow-up Comment #2, bug #58832 (project octave):

Thanks @Hartmut for the tests. They all passed.

Note there is incompatibility between Matlab and Octave:

Ocatve:


>> iradon(radon(ones(2,2),0:5),0:5, 'nearest', 'none')
ans =

   0.4264   2.7859   2.7152   0.3557
   0.4264   2.7859   2.7152   0.3557
   0.4264   2.7859   2.7152   0.3557
   0.4264   2.7859   2.7152   0.3557


Matlab:


>> iradon(radon(ones(2,2),0:5),0:5, 'nearest', 'none')

ans =

    0.4264    2.7859    2.7152    0.3557
    0.4264    2.7859    2.7152    0.3557
    0.4264    2.7859    2.7152    0.3557
    0.4264    2.7859    2.7152    0.3557


But:

Octave:


>> iradon(radon(ones(2,2),0:5),0:5, 'nearest')
ans =

  -0.3677   0.7481   0.7127  -0.3903
  -0.3677   0.7481   0.7127  -0.3903
  -0.3677   0.7481   0.7127  -0.3903
  -0.3677   0.7481   0.7127  -0.3903


Matlab:


>> iradon(radon(ones(2,2),0:5),0:5, 'nearest')

ans =

   -0.3593    0.7563    0.7210   -0.3820
   -0.3593    0.7563    0.7210   -0.3820
   -0.3593    0.7563    0.7210   -0.3820
   -0.3593    0.7563    0.7210   -0.3820



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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