help-octave
[Top][All Lists]
Advanced

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

Re: A vectorization question


From: lukshuntim
Subject: Re: A vectorization question
Date: Tue, 20 Dec 2011 18:46:16 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111110 Thunderbird/8.0

On 12/20/2011 06:22 PM, marco atzeri wrote:

> 
> No, you are asking for a brodcasting as B is same size of A
> 
> B=A.*c
> on the latest development,
> 
> otherwise on 3.4.x
> B=A.*repmat(c,m,1)

Yes, this also works (with c as a row vector) in octave 3.2.4 which is
the version I'm now using.

Thanks,
ST
-- 


reply via email to

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