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 계정에 로그인하거나 계정을 새로 만드십시오.