Rank: 4800 based on 3 downloads (last 30 days) and 1 file submitted
photo

Thomas

E-mail
Company/University
X-Rite, Incorporated

Personal Profile:
Professional Interests:
image processing, signal processing, color

 

Watch this Author's files

 

Files Posted by Thomas
Updated   File Tags Downloads
(last 30 days)
Comments Rating
05 Feb 2010 RANDWORD Generate a random word from an alphabet Author: Thomas random, word, lexicographic, alphabet 3 1
Comments and Ratings on Thomas' Files
Updated File Comment by Comments Rating
09 Feb 2010 RANDWORD Generate a random word from an alphabet Author: Thomas Jos (10584)

How is this different from the more simple approach:

idx = ceil(numel(alpha)*rand(n,w)) ;
words = alpha(idx)?

Note that the variable "word" is growing inside the lloop, making this algorithm potentially very slow.

A final and positive comment: the help is quite adequate with a description of the in- and outputs, the algorithm and an example. A "See Also" line, referencing RAND and RANDSAMPLE would improve it even further.

Top Tags Applied by Thomas
alphabet, lexicographic, morphology, random, word
Files Tagged by Thomas View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
21 Jun 2010 Screenshot clusterImg Interactively segment RGB image into n user-defined clusters. Author: Brett Shoelson morphology, kmeans cluster color ..., segmentation 44 6
  • 4.6
4.6 | 5 ratings
05 Feb 2010 RANDWORD Generate a random word from an alphabet Author: Thomas random, word, lexicographic, alphabet 3 1

Contact us at files@mathworks.com