octave-maintainers
[Top][All Lists]
Advanced

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

conv does not preverve orientation of input


From: Moritz Borgmann
Subject: conv does not preverve orientation of input
Date: Fri, 28 Mar 2008 00:57:57 +0100

In Octave, the orientation of the output of y = conv(a,b) is always a row vector. In Matlab, the rules are the following:

 - if a is shorter or equal in size to b: orientation of y is the same as b
 - if b is shorter than a: orientation of y is same as a.

Wuut. You may or may not believe it, but there's code that depends on this behavior. Find attached a patch that "fixes" conv.m.

Test cases are included.

-M

Attachment: mb-fix-conv.changeset
Description: Binary data


reply via email to

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