File Exchange Pick of the Week

Our best user submissions

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.


sort(ceil(rand(1,6) * 50))
ans =

     4     8    15    16    23    42

  • print


To leave a comment, please click here to sign in to your MathWorks Account or create a new one.