{"id":1928,"date":"2007-02-07T22:00:21","date_gmt":"2007-02-08T03:00:21","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/?p=1928"},"modified":"2016-05-18T16:47:50","modified_gmt":"2016-05-18T20:47:50","slug":"graphical-removal-of-data-points","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2007\/02\/07\/graphical-removal-of-data-points\/","title":{"rendered":"Graphical removal of data points"},"content":{"rendered":"<p>This week I wanted to show a <a title=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/loadFile.do?objectId=13857&amp;objectType=FILE (link no longer works)\">cool utility<\/a> for the removal of data points from a set. John wrote this code, it has plenty of help and examples included in it too.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" id=\"image1925\" class=\"alignnone\" src=\"https:\/\/blogs.mathworks.com\/pick\/..\/images\/pick\/selectdata.jpg\" alt=\"SelectData\" width=\"552\" height=\"414\" \/><\/p>\n<p>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.<\/p>\n<div class=\"content\">\n<pre style=\"background: #F9F7F3; padding: 10px; border: 1px solid #c8c8c8;\">rand(<span style=\"color: #a020f0;\">'state'<\/span>,5967887)\r\n\r\nsort(ceil(rand(1,6) * 50))<\/pre>\n<pre style=\"font-style: oblique;\">ans =\r\n\r\n     4     8    15    16    23    42\r\n\r\n<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>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.<\/p>\n<p>As a bonus, this week I was curious... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2007\/02\/07\/graphical-removal-of-data-points\/\">read more >><\/a><\/p>\n","protected":false},"author":68,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/1928"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/users\/68"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=1928"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/1928\/revisions"}],"predecessor-version":[{"id":7374,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/1928\/revisions\/7374"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=1928"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=1928"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=1928"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}