help-octave
[Top][All Lists]
Advanced

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

Re: Vector approach to row margin frequencies


From: ws
Subject: Re: Vector approach to row margin frequencies
Date: Wed, 24 Jun 2009 14:48:58 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

> In 3.2.0, the fastest way is also the most obvious (from math point of view):
> 
> F = X / diag (S)
> 
> In 3.0.x, take any of the bsxfun or repmat workarounds (or just use
> the above and upgrade to 3.2 soon)

Well ....

octave:7> version
ans = 3.2.0
octave:8> X/diag(S)
error: operator /: nonconformant arguments (op1 is 16x3, op2 is 16x16)

I will play with the bsxfun thing, though, just to understand it...

Thanks!



reply via email to

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