Rank: 7528 based on 0 downloads (last 30 days) and 0 files submitted
photo

Greg Wolff

E-mail
Company/University
MathWorks

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Greg
Updated File Comments Rating
04 Jun 2010 Seed generator using 'current' World Population count Generates a seed that could be used to set the state for random number generation in matlab. Author: Pranam Janney

This is pretty slick, and works as advertised. I also gave it a high rating because I think its very creative. I bet its an application the creators of the population clock never envisioned. :)

If you are looking for some enhancement suggestions, you can tighten up the code a little bit for searching the HTML source text returned by the URLREAD function with regular expressions instead of read_specific_data.m

There is an example of reading HTML tags in text using regular expressions. You can locate it by going here:

http://www.mathworks.com/access/helpdesk/help/techdoc/ref/regexp.html

or entering

>> doc regexp

at the MATLAB Command Prompt.

Specifically, look at example number 5.

Contact us at files@mathworks.com