Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » sci.math.* » sci.math.num-analysis.independent

Topic: dumb matrix question
Replies: 8   Last Post: May 12, 2011 3:14 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Greg Heath

Posts: 5,965
Registered: 12/7/04
Re: dumb matrix question
Posted: Apr 22, 2011 11:07 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On Apr 21, 9:54 pm, vjp2...@at.BioStrategist.dot.dot.com wrote:
> If I want to divide the elements of a row of a matrix by the sum of that row,
> is there a simple MATRIX op (in MatLab) that will do this?


Can't think of any.

I premultiply by diag(1./(sum(A'))

Why didn't you post this question in comp.soft-sys.matlab
or MATLAB Central?

Hope this helps.

Greg



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.