Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



השב: Re: dumb matrix question
Posted:
Apr 26, 2011 8:23 AM


Another two option can be:
(diag(sum(a'))\a)
or
(a'/diag(sum(a')))'
P.S. You can replace sum(a') with sum(a, 2) (which one is better depends on Matlab's internals).



