Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: random source generator?
Replies: 2   Last Post: Nov 5, 2009 9:42 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Rebelstar

Posts: 24
Registered: 11/30/08
random source generator?
Posted: Nov 4, 2009 9:45 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello,
I need to generate n random symbols from the foloowing
I have 4 symbols a) (1,0) b) (-1,0) c) (0,3) d) (0,-3).

Which command do i need to use for this.

I used randsrc(), but how should the alphabet parameter be passed [1,0,-1,3,-3] will generate all possible combinations...But i need only the above a,b c and d symbols.


Thanks!.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2009. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Goodwin College of Professional Studies.