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

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

[Octave-bug-tracker] [bug #31570] matrix incorrect build


From: Nino
Subject: [Octave-bug-tracker] [bug #31570] matrix incorrect build
Date: Sat, 06 Nov 2010 18:46:27 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.1; .NET4.0C)

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

                 Summary: matrix incorrect build
                 Project: GNU Octave
            Submitted by: nino
            Submitted on: Sat 06 Nov 2010 06:46:26 PM GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Nino
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.2.4
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

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




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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