{"id":252,"date":"2016-06-21T14:03:03","date_gmt":"2016-06-21T14:03:03","guid":{"rendered":"https:\/\/blogs.mathworks.com\/headlines\/?p=252"},"modified":"2020-09-03T14:26:33","modified_gmt":"2020-09-03T18:26:33","slug":"coffee-and-the-6-degrees-of-kevin-bacon-uh-i-mean-matlab","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/headlines\/2016\/06\/21\/coffee-and-the-6-degrees-of-kevin-bacon-uh-i-mean-matlab\/","title":{"rendered":"Coffee and the 6 degrees of Kevin Bacon&#8230; Uh, I mean MATLAB."},"content":{"rendered":"<p>When we launched this blog in February, we set out to show how MATLAB was tied to the top news stories and trends. We started with how the Cleveland Clinic is working to improve <a target=\"_blank\" rel=\"noopener noreferrer\">concussion diagnosis in the NFL<\/a>, we talked about studies tackling <a title=\"https:\/\/blogs.mathworks.com\/headlines\/2016\/03\/02\/science-is-helping-fight-the-zika-virus-and-the-deadliest-animal-in-the-world\/ (link no longer works)\" target=\"_blank\" rel=\"noopener noreferrer\">the Zika epidemic<\/a>, and showed how MATLAB was used by the <a title=\"https:\/\/blogs.mathworks.com\/headlines\/2016\/06\/01\/using-matlab-to-catch-athletes-who-cheat\/ (link no longer works)\" target=\"_blank\" rel=\"noopener noreferrer\">World Anti-Doping Agency to catch Olympic athletes who cheat<\/a>.<\/p>\n<p>It has been fun to see how many trending stories have strong ties to engineering and research. It sometimes seems like a game of \u201c<a href=\"https:\/\/en.wikipedia.org\/wiki\/Six_Degrees_of_Kevin_Bacon\" target=\"_blank\" rel=\"noopener noreferrer\">Six Degrees of Kevin Bacon<\/a>\u201d, based on the six degrees of separation theory.<\/p>\n<p style=\"padding-left: 30px;\">According to Wikipedia, \u201c<a href=\"https:\/\/en.wikipedia.org\/wiki\/Six_degrees_of_separation\" target=\"_blank\" rel=\"noopener noreferrer\">Six degrees of separation<\/a> is the\u00a0theory\u00a0that everyone and everything is six or fewer steps away, by way of introduction, from any other person in the world, so that a chain of &#8220;a friend of a friend&#8221; statements can be made to connect any two people in a maximum of six steps. It was originally set out by\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/Frigyes_Karinthy\" target=\"_blank\" rel=\"noopener noreferrer\">Frigyes Karinthy<\/a>\u00a0in 1929 and popularized in an eponymous\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/Six_Degrees_of_Separation_(play)\" target=\"_blank\" rel=\"noopener noreferrer\">1990 play<\/a>\u00a0written by\u00a0John Guare.\u201d<\/p>\n<h2><\/h2>\n<h1><a href=\"https:\/\/s-media-cache-ak0.pinimg.com\/236x\/29\/90\/a6\/2990a67acdd298833df570857e5e3d94.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone\" src=\"https:\/\/s-media-cache-ak0.pinimg.com\/236x\/29\/90\/a6\/2990a67acdd298833df570857e5e3d94.jpg \" alt=\"\" width=\"236\" height=\"295\" \/><\/a><\/h1>\n<p>&nbsp;<\/p>\n<h2><strong><h2 class=\"big_h2\"><span style=\"color: #e89400;\">The six degrees of MATLAB<\/span><\/h2><\/strong><\/h2>\n<p>Instead of taking a cue from the top headlines of the day, I decided to try a different approach.\u00a0 I want to take an everyday item or topic and then find links to <strong>a) the news<\/strong>, and <strong>b) MATLAB<\/strong>.\u00a0 Since this idea came to me in the morning, and I start every morning with a \u201ccuppa joe\u201d, I decided the first test of the six degrees of MATLAB would be <strong>coffee!<\/strong><\/p>\n<h2><strong><span class=\"mw_red\">Coffee in the News<\/span><\/strong><\/h2>\n<p>Finding a news story about coffee wasn&#8217;t difficult. Just last week, <em>The New York Times<\/em> reported <a href=\"http:\/\/well.blogs.nytimes.com\/2016\/06\/15\/coffee-may-protect-against-cancer-w-h-o-concludes\/\" target=\"_blank\" rel=\"noopener noreferrer\">Coffee May Protect Against Cancer, W.H.O. Concludes<\/a>. A panel of experts from the World Health Organization (W.H.O.) stated drinking coffee could protect against at least two types of cancer, and showed there was a lack of evidence that coffee might cause other types of cancer. They estimate that a cup of coffee a day decreases the risk of liver cancer by 15%. Coffee drinkers everywhere can relax, assuming they don\u2019t consume too much caffeine.<\/p>\n<h2><strong><span class=\"mw_red\">Coffee and MATLAB<\/span><\/strong><\/h2>\n<p>Next, I looked for six ways coffee can be tied to MATLAB. I realize that is not the true interpretation of the six degrees of separation, but this is for fun, and why be 5 degrees away? So here are six coffee projects that made use of MATLAB:<\/p>\n<ol style=\"list-style: decimal !important;\">\n<li>Grow healthy coffee plants.<br \/>\nEthiopian Coffee Plant Diseases Recognition Based on Imaging and Machine Learning Techniques uses MATLAB for both <a href=\"https:\/\/www.mathworks.com\/products\/image\/?s_tid=srchtitle\" target=\"_blank\" rel=\"noopener noreferrer\">image processing<\/a> and <a href=\"https:\/\/www.mathworks.com\/products\/statistics\/?s_tid=srchtitle\" target=\"_blank\" rel=\"noopener noreferrer\">machine learning<\/a>.<\/li>\n<li>Get the best coffee.<br \/>\n<a href=\"http:\/\/www.sciencedirect.com\/science\/article\/pii\/S0039914010008611\" target=\"_blank\" rel=\"noopener noreferrer\">Chemometric models for the quantitative descriptive sensory analysis of Arabica coffee beverages using near infrared spectroscopy<\/a> attempts to establish a relationship between the sensory attributes of the beverage and the chemical components of the coffee beans. MATLAB is used for <a href=\"https:\/\/www.mathworks.com\/solutions\/data-analysis.html?s_tid=srchtitle\" target=\"_blank\" rel=\"noopener noreferrer\">data analysis<\/a>.<\/li>\n<li>Get the coffee to the stores.<br \/>\nApplication for Decision-Making in Transportation Logistics Function: Supply Chain Colombian Green Coffee\u00a0uses\u00a0MATLAB code to optimize the supply chain based on varying criteria, including opportunity, flexibility, cost savings, efficiency\/productivity and technology. The code was validated with data from a case study of the supply chain for\u00a0Colombian green coffee.<\/li>\n<li>Make sure the coffee is fresh.<br \/>\n<a href=\"http:\/\/www.ijcsi.org\/papers\/IJCSI-8-4-1-320-324.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">Application of artificial neural engineering and regression models for forecasting shelf life of instant coffee drink<\/a>\u00a0uses the\u00a0<a href=\"https:\/\/www.mathworks.com\/products\/deep-learning.html\" target=\"_blank\" rel=\"noopener noreferrer\">Deep Leaning Toolbox<\/a>\u00a0to train the models.<\/li>\n<li>Figure out who is paying for the coffee.<br \/>\nThis is a file from MATLAB <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/?s_tid=mlc_fx_browse\" target=\"_blank\" rel=\"noopener noreferrer\">File Exchange<\/a> called <em><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/30396-coffee-roulette?s_tid=srchtitle\" target=\"_blank\" rel=\"noopener noreferrer\">Coffee Roulette<\/a><\/em>. It lets MATLAB decide whose turn it is to get the coffee!<\/li>\n<li>For the Makers out there, here\u2019s a project called <a href=\"http:\/\/www.instructables.com\/id\/Control-a-Robotic-Arm-with-the-Microsoft-Kinect\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u201cControl a Robotic Arm with the Microsoft Kinect!\u201d<\/a> from instructables.com. It\u00a0shows how to use MATLAB and <a href=\"https:\/\/www.mathworks.com\/products\/simulink\/\" target=\"_blank\" rel=\"noopener noreferrer\">Simulink <\/a>with Kinect to add 3-d vision to the arm.\u00a0 Per the author, \u201cRobots are quickly becoming more integrated into our day-to-day lives. They clean our floors, <strong>make our coffee<\/strong>, and are even used for telepresence. Since they are becoming so vital to society, why not give our robotic companions the gift of vision?\u201d<\/li>\n<\/ol>\n<p>What I couldn\u2019t find was a MATLAB-inspired coffee-delivering robot that uses facial recognition software to identify\u00a0the customer.\u00a0 If you know of one, please send me a note! Or better yet, have it bring\u00a0me a coffee.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-258 size-full\" src=\"https:\/\/blogs.mathworks.com\/headlines\/files\/feature_image\/MATLAB-logo-mug.png\" alt=\"MATLAB logo mug\" width=\"167\" height=\"173\" \/><\/p>\n<h2><strong><span class=\"mw_red\">The six degrees of MATLAB<\/span><\/strong><\/h2>\n<p>Please send me your ideas for next quarter\u2019s episode of the six degrees of MATLAB, or share an interesting MATLAB project tied to an unexpected topic.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/s-media-cache-ak0.pinimg.com\/236x\/29\/90\/a6\/2990a67acdd298833df570857e5e3d94.jpg \" onError=\"this.style.display ='none';\" \/><\/div>\n<p>When we launched this blog in February, we set out to show how MATLAB was tied to the top news stories and trends. We started with how the Cleveland Clinic is working to improve concussion diagnosis&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/headlines\/2016\/06\/21\/coffee-and-the-6-degrees-of-kevin-bacon-uh-i-mean-matlab\/\">read more >><\/a><\/p>\n","protected":false},"author":138,"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\/headlines\/wp-json\/wp\/v2\/posts\/252"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/headlines\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/headlines\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/headlines\/wp-json\/wp\/v2\/users\/138"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/headlines\/wp-json\/wp\/v2\/comments?post=252"}],"version-history":[{"count":16,"href":"https:\/\/blogs.mathworks.com\/headlines\/wp-json\/wp\/v2\/posts\/252\/revisions"}],"predecessor-version":[{"id":2799,"href":"https:\/\/blogs.mathworks.com\/headlines\/wp-json\/wp\/v2\/posts\/252\/revisions\/2799"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/headlines\/wp-json\/wp\/v2\/media?parent=252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/headlines\/wp-json\/wp\/v2\/categories?post=252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/headlines\/wp-json\/wp\/v2\/tags?post=252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}