WMW
  NEWS     ABOUT     PARTNERS     CONTACT  
  HELP
WATERMARKING
  • Biography
  • FAQ
MAILINGLIST
  • Management
  • Archive
CONFERENCES
  • Calls
BENCHMARKING
  • Stirmark
  • CheckMark
  • Optimark
BOOKS
LINKS
  • Companies
  • Research
  • Others
WEBRING
DISCLAIMER

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

Re: [WM]: Pseudorandom Numbers !






On Wed, 25 Jul 2001,   AMGee wrote:

> Dear Watermarkers 
>     Unfortunately in Matlab the real valued normally distributed
>     pseudorandom numbers [RANDN(m,n)] do not generate with mean
>     zero but it gives some other mean value against what this function
>     claim. Any one can see this function's help and an example. I am in
>     favor of Chuck Rewood. It will be helpful for me as well if someone
>     give a way to solve this problem. Now mean zero I mean mean = 0
>     exactly .
> 
why don't you just use

	x=randn(m,n);
        x=x-mean(x(:));

to get a normaly distributed m by n matrix x with a mean of exactly zero?

regards

	Thomas


______________________________________________________________________________

Watermarking Mailing List - http://www.watermarkingworld.org/ml.html
To unsubscribe send email to "majordomo@watermarkingworld.org" with
"unsubscribe watermarking YOURMAIL" in the body.
______________________________________________________________________________



© 2000-2002 by WatermarkingWorld
Design and Concept by Martin Kutter