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

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

[Octave-bug-tracker] [bug #33625] filter with dimension and empty SI doe


From: Sebastien
Subject: [Octave-bug-tracker] [bug #33625] filter with dimension and empty SI does return error
Date: Thu, 23 Jun 2011 06:51:01 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.18) Gecko/20110615 Ubuntu/10.04 (lucid) Firefox/3.6.18

URL:
  <http://savannah.gnu.org/bugs/?33625>

                 Summary: filter with dimension and empty SI does return error
                 Project: GNU Octave
            Submitted by: se6
            Submitted on: Thu 23 Jun 2011 06:50:59 GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Seb
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

Hi,

a = ones(2,1,3,4);
a(1,1,:,:) = [1 2 3 4; 5 6 7 8; 9 10 11 12];
y = filter([1 1 1],1,a,[],3);
y(:)'

% That generates an error:
% error: filter: dimensionality of SI and X must agree
%
% It should return:
%
% ans =
%  Columns 1 through 17
%  1     1     6     2    15     3     2     1     8     2    
% 18     3     3     1    10     2    21
%  Columns 18 through 24
%  3     4     1    12     2    24     3
%

That affect the latest dev but also 3.2, 3.4. (Don't know about earlier
versions)

Regards,

Seb




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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