bugGNU Octave - Bugs: bug #37272, octave reports error -- number of...

 
 

bug #37272: octave reports error -- number of rows must match; Matlab--no error

Submitter:  None
Submitted:  Wed 05 Sep 2012 07:41:45 AM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Dave McQuate Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.2.4
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 05 Sep 2012 03:20:50 PM UTC, comment #1: 

Happily, this bug has been fixed long ago.  The version of Octave that you are using, 3.2.4, is ancient and no lo longer supported.  The current stable version of Octave is 3.6.2 and it runs the code fine.  The last stable version, 3.4.3, also runs the code fine if you can't find a 3.6 version of Octave for Windows.

Rik <rik5>
Group administrator
Wed 05 Sep 2012 07:41:45 AM UTC, original submission:  



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)



Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #26474:  mason.m added by None (17KiB - application/octet-stream)
file #26475:  threetwoports.net added by None (145B - application/octet-stream)
file #26476:  cascadedtwoports.net added by None (96B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-09-05 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
        Release3.4.2 3.2.4
    2012-09-05 None Attached File- Added mason.m, #26474
        Attached File- Added threetwoports.net, #26475
        Attached File- Added cascadedtwoports.net, #26476

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code