bugGNU Octave - Bugs: bug #31571, matrix incorrect build

 
 

bug #31571: matrix incorrect build

Submitted by:  Nino <nino>
Submitted on:  Sat 06 Nov 2010 07:16:35 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: Need InfoAssigned to: None
Originator Name: NinoOpen/Closed: Closed
Release: 3.2.4Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 06 Dec 2010 05:24:30 PM UTC, comment #2:

No response to request for additional information in 1 month. Closing bug report.

Rik <rik5>
Project Administrator
Sun 07 Nov 2010 09:09:06 AM UTC, comment #1:

Running Matlab I see ...

>> Rext = [];
>> whos Rext

Name Size Bytes Class Attributes

Rext 0x0 0 double

>> Ibox = Rext * [0, 1; 1, 1]

??? Error using ==> mtimes
Inner matrix dimensions must agree.

Please confirm that your variable, Rext, is supposed to be empty.

Ben Abbott <bpabbott>
Project Member
Sat 06 Nov 2010 07:16:35 PM UTC, original submission:

A mfile which worked with Matlab does not work with Octave because a matrix is not build correctly. The same line works on the main window of the program but not in the file,
the line is
lbox=Rext*[0,1;1,1];
error: operator *: nonconformant arguments (op1 is 0x0, op2 is 2x2)

I tried also
lbox = [0 -Rext
Rext Rext]
or
lbox=0;
lbox=[lbox -Rext]
lbox=[lbox; Rext Rext]
but the results is always a scalar lbox=0
I include the file

Nino <nino>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #21946:  dr.m added by nino (242B - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by bpabbott (Posted a comment)
  • -unavailable- added by nino (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 06 Dec 2010 05:24:30 PM UTCrik5Open/ClosedOpen=>Closed
    Sun 07 Nov 2010 10:33:47 PM UTCrik5Carbon-CopyRemoved 72865=>-
    Sun 07 Nov 2010 10:33:36 PM UTCrik5StatusNone=>Need Info
    Sat 06 Nov 2010 07:16:35 PM UTCninoAttached File-=>Added dr.m, #21946

    Back to the top


    Powered by Savane 3.1-cleanup1