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 matrix in Matlab



Thanks for all ppl. reply to me,

but I need zero mean matrix, so that numbers of -1 equal to numbers of 1.
I've tried 
	randint(M,N) 	(in Matlab 6.12)
but the documentation said that that command will generate with 'equal
probability'  not 'equal numbers of -1 or 1'

any clue of syntax please ?

Best regards,

Rewood 




-----Original Message-----
From: watermarking-owner@watermarkingworld.org
[mailto:watermarking-owner@watermarkingworld.org]On Behalf Of Mirek
Goljan
Sent: Tuesday, July 24, 2001 8:01 PM

Hi,
   you don't need any work, just use Matlab command. For example
floor(3*rand(M,N))-1
to make M by N matrix as you want.
  Mirek


********************************
Miroslav Goljan
Watson School of Engineering and
    Applied Science, Dept. of EE
 State University of New York
 PO BOX 00238
 Binghamton, NY 13902-6000
e-mail: mgoljan@binghamton.edu
********************************


______________________________________________________________________________

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