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

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

[Octave-bug-tracker] [bug #34893] conv2 produces different results for s


From: Jordi Gutiérrez Hermoso
Subject: [Octave-bug-tracker] [bug #34893] conv2 produces different results for shape 'valid' depending on the orientation of matrix B
Date: Sat, 21 Apr 2012 15:17:35 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110109 Lightningturtle/3.6.13

Follow-up Comment #13, bug #34893 (project octave):

After some analysis, it appears that Sunghyun Cho's patch is not correct,
since it breaks this case:


      x = rand(100);
      y = ones(5);
      A = conv2(x,y)(5:end-4,5:end-4);
      B = conv2(x,y,"valid");


With the patch, A and B are only approximately equal. Without it, they're
exactly equal.

However, I think I'm slowly starting to understand the convoluted (haha) conv2
code. I will attempt another fix, but probably not for the 3.6.2 release.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34893>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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