bugGNU Octave - Bugs: bug #35666, wrong matrix division when...

 
 

bug #35666: wrong matrix division when normalizing columns

Submitted by:  None
Submitted on:  Wed 29 Feb 2012 11:48:47 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Documentation
Status: FixedAssigned to: Jordi Gutiérrez Hermoso <jordigh>
Originator Name: Marko SericOriginator Email: -unavailable-
Open/Closed: ClosedRelease: dev
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 29 Feb 2012 09:55:52 PM UTC, comment #3:

Okay, I made further modifications:

http://hg.savannah.gnu.org/hgweb/octave/rev/62cb605af1af

Jordi Gutiérrez Hermoso <jordigh>
Project AdministratorIn charge of this item.
Wed 29 Feb 2012 06:05:43 PM UTC, comment #2:

Your welcome.

There is one more little thing: you should really write

instead of

otherwise the dimension of the matrix switches from k x n to n x k.

ps: maybe you could also add that broadcasting works since Octave v. 3.6.0 ?

Anonymous
Wed 29 Feb 2012 05:35:16 PM UTC, comment #1:

Thanks, fixed here:

http://hg.savannah.gnu.org/hgweb/octave/rev/dfb33a5723d2

Also added a note that this can also be done with broadcasting.

Jordi Gutiérrez Hermoso <jordigh>
Project AdministratorIn charge of this item.
Wed 29 Feb 2012 11:48:47 AM UTC, original submission:

In Chapter "21.4 Some Examples of Usage", this is the code to normalize the columns of a matrix:

this produces an error with non-conformant operands:

The correct way should be

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by None (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 11 Mar 2012 08:47:41 PM UTCrik5Open/ClosedOpen=>Closed
    Wed 29 Feb 2012 09:55:52 PM UTCjordighOpen/ClosedClosed=>Open
    Wed 29 Feb 2012 05:51:37 PM UTCrik5Open/ClosedOpen=>Closed
    Wed 29 Feb 2012 05:35:16 PM UTCjordighStatusNone=>Fixed
      Assigned toNone=>jordigh
      Release3.2.3=>dev

    Back to the top


    Powered by Savane 3.1-cleanup1