[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51145] convn: incompatible results on empty i
From: |
Ceral Paquet |
Subject: |
[Octave-bug-tracker] [bug #51145] convn: incompatible results on empty inputs |
Date: |
Wed, 31 May 2017 19:29:05 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0 |
Follow-up Comment #4, bug #51145 (project octave):
MATLAB 2016a
>> version
ans =
9.0.0.341360 (R2016a)
>> conv2([], ones(5))
ans =
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
>> conv2(ones(5),[])
ans =
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
>> conv2([], ones(5),'same')
ans =
[]
>> conv2(ones(5),[],'same')
ans =
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
>> conv2([], ones(5),'valid')
ans =
[]
>> conv2(ones(5),[],'valid')
ans =
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
I would also like to take this opportunity to plug a feature request for
"cyclic" / "circular" convolution :)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51145>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/