[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Vector approach to row margin frequencies
From: |
Jaroslav Hajek |
Subject: |
Re: Vector approach to row margin frequencies |
Date: |
Wed, 24 Jun 2009 16:56:02 +0200 |
On Wed, Jun 24, 2009 at 4:48 PM, ws<address@hidden> wrote:
>> 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!
Oh yes, sorry, I confused rows and columns. diag(S) \ X
--
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz
- Vector approach to row margin frequencies, ws, 2009/06/23
- Re: Vector approach to row margin frequencies, ws, 2009/06/23
- Re: Vector approach to row margin frequencies, Judd Storrs, 2009/06/23
- Re: Vector approach to row margin frequencies, Jaroslav Hajek, 2009/06/24
- Re: Vector approach to row margin frequencies, ws, 2009/06/24
- Re: Vector approach to row margin frequencies,
Jaroslav Hajek <=
- Re: Vector approach to row margin frequencies, Judd Storrs, 2009/06/24
- Re: Vector approach to row margin frequencies, ws, 2009/06/24
- Re: Vector approach to row margin frequencies, Jaroslav Hajek, 2009/06/25
- Re: Vector approach to row margin frequencies, Judd Storrs, 2009/06/25
- Re: Vector approach to row margin frequencies, Jaroslav Hajek, 2009/06/25
- Re: Vector approach to row margin frequencies, John W. Eaton, 2009/06/25
- Re: Vector approach to row margin frequencies, Judd Storrs, 2009/06/25
- Re: Vector approach to row margin frequencies, John W. Eaton, 2009/06/25
- Re: Vector approach to row margin frequencies, Judd Storrs, 2009/06/25
- Re: Vector approach to row margin frequencies, Jaroslav Hajek, 2009/06/25