Graphical removal of data points
This week I wanted to show a cool utility for the removal of data points from a set. John wrote this code, it has plenty of help and examples included in it too.
As a bonus, this week I was curious how long it would take me to find a random number seed that would produce a certain set of numbers from a pool of fifty (essentially playing the lottery in MATLAB). I was pleased to see it took only three minutes to find the seed that would generate my six numbers. It was a cool exercise in Distributed Computing to be able to test every random number seed until I found the one I was looking for.
rand('state',5967887)
sort(ceil(rand(1,6) * 50))
ans = 4 8 15 16 23 42
评论
要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。