help-octave
[Top][All Lists]
Advanced

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

Re: Filling a column with data from a random generator without using a f


From: David Bateman
Subject: Re: Filling a column with data from a random generator without using a for loop
Date: Fri, 16 Apr 2004 01:04:18 +0200
User-agent: Mutt/1.4.1i

Henry,

binomial_rnd(1,0.5,2,2) is broken in 2.1.57 or I'd suggest using it. It
is also broken in the CVS currently due to a stupid little bug. Your 
mail made me go back a test a change I made. I hope JWE will apply the
patch soon. In the meantime find attached a version of binomial_rnd for
use with 2.1.57 that will do what you want... That is

m = binomial_rnd(1,0.5,100,1);

Regards
David

-- 
David Bateman                                address@hidden
Motorola CRM                                 +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 1 69 35 77 01 (Fax) 
91193 Gif-Sur-Yvette FRANCE

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary

Attachment: binomial_rnd.m
Description: Text document


reply via email to

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