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

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

[Octave-bug-tracker] [bug #37272] octave reports error -- number of rows


From: anonymous
Subject: [Octave-bug-tracker] [bug #37272] octave reports error -- number of rows must match; Matlab--no error
Date: Wed, 05 Sep 2012 07:41:45 +0000
User-agent: Mozilla/5.0 (Windows NT 5.0; rv:9.0.1) Gecko/20100101 Firefox/9.0.1

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

                 Summary: octave reports error -- number of rows must match; 
Matlab--no error
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 05 Sep 2012 07:41:45 UTC
                Category: Libraries
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Dave McQuate
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.2
        Operating System: Microsoft Windows

    _______________________________________________________

Details:



octave 3.2.4_gcc-4.4.0, configured for "i686-pc-mingw32", running on Win2k

using     mason.m,

(this function calculates the transfer function of the signal flow graph
specified by the file passed in as the first argument using Mason's
"non-touching loops" rule)

With the file threetwoports.net  in the current folder,

type the command

[num,den]=mason('threetwoports.net',6,3)

octave says--
error: number of rows must match (1 != 2) near line 342, column 27
error: called from:
error:   C:\octavework\mason.m at line 342, column 7
error:   C:\octavework\mason.m at line 76, column 24

======== However ==========

This script and net file work without error when run in MatLab.

It should report

--Network Info --
Net File   : threetwoports.net
Start Node : 6
Stop Node  : 3

----- Paths -----
P1 :                     <snip>...............

-----------------------------------------------------------------
A simpler network, described by the file     cascadedtwoports.net     works
identically in octave and Matlab

[num,den]=mason('cascadedtwoports.net',6,3)






    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 05 Sep 2012 07:41:45 UTC  Name: mason.m  Size: 17kB   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=26474>
-------------------------------------------------------
Date: Wed 05 Sep 2012 07:41:45 UTC  Name: threetwoports.net  Size: 145B   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=26475>
-------------------------------------------------------
Date: Wed 05 Sep 2012 07:41:45 UTC  Name: cascadedtwoports.net  Size: 96B  
By: None

<http://savannah.gnu.org/bugs/download.php?file_id=26476>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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