{"id":4101,"date":"2016-09-27T12:27:30","date_gmt":"2016-09-27T16:27:30","guid":{"rendered":"https:\/\/blogs.mathworks.com\/community\/?p=4101"},"modified":"2016-09-27T12:27:30","modified_gmt":"2016-09-27T16:27:30","slug":"15-questions-grant-cook-iii","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/community\/2016\/09\/27\/15-questions-grant-cook-iii\/","title":{"rendered":"15 Questions: Grant Cook III"},"content":{"rendered":"<p>We will be celebrating the <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/anniversary\/\/\">15<sup>th<\/sup> Anniversary of MATLAB Central<\/a> through October.\u00a0 Our second interview in our 15 Questions series is with <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/5349647\">Grant Cook III<\/a>.<\/p>\n<p><a href=\"https:\/\/blogs.mathworks.com\/community\/files\/Grant-Cook-III.jpg\"><img decoding=\"async\" loading=\"lazy\" width=\"208\" height=\"300\" class=\"size-medium wp-image-4105 alignnone\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/Grant-Cook-III-208x300.jpg\" alt=\"grant-cook-iii\" \/><\/a><\/p>\n<p>Grant works for Halliburton and has been coming to MATLAB Central for about a decade.\u00a0 He is a frequent participant on Cody with a reputation score over 21,000 points, which currently ranks 6<sup>th<\/sup> all time.<\/p>\n<p>One of his better problem sets on Cody is \u201c<a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/problems\/42404-divisible-by-2\">Divisible by X<\/a>\u201d which teaches interesting mathematical tricks that can be utilized to determine the divisibility of any given number by a range of divisors.<\/p>\n<p>Thanks to Grant for agreeing to do this virtual interview.<\/p>\n<hr \/>\n<div style=\"background-color: #f0f0f0; padding-top: 4px; padding-bottom: 4px; margin-bottom: 4px; font-style: italic;\"><strong>1. <\/strong><strong>John Kelly: When did you first get exposed to MATLAB and did you start using it right away, or did it take a while to grow on you?<\/strong><\/div>\n<p>Grant Cook III: I started using MATLAB in graduate school about a decade ago. I recall that some numerical methods and analysis classes exposed us to a broad range of problem-solving tools and methods, from C and C++ programming to Excel to MATLAB and Maple.\u00a0 I found that MATLAB has the best combination of customizability and fixed structure to function very well as a robust sandbox for solving lots of problems, big and small. The program itself, and the many modules that can be added on, provide tools to solve a broad array of problems out of the box. On the other hand, the MATLAB programming language provides broad flexibility with many low-level code constructs abstracted out. That is to say, one does not have to be an expert programmer to significantly leverage the strengths of MATLAB.<\/p>\n<div style=\"background-color: #f0f0f0; padding-top: 4px; padding-bottom: 4px; margin-bottom: 4px; font-style: italic;\"><strong>2. J<\/strong><strong>K: Did you get a reputation as a \u201cMATLAB Fixer\u201d at your organization? Was that ever a burden?<br \/>\n<\/strong><\/div>\n<p>GC3: Actually, the guys at work have referred to me as \u201cMr. MATLAB\u201d or \u201cMATLAB incarnate\u201d due to my extremely logical nature and use of MATLAB to solve most problems, ranging from simple composition calculations to bill-of-materials comparison and cost analysis across thousands of designs. I enjoy helping other engineers learn how MATLAB can extend analyses and solutions to a broad or large data set and have half-jokingly said, \u201cIf you\u2019re going to do an analysis once, use Excel. If you\u2019re going to do it more than once, use MATLAB.\u201d<\/p>\n<div style=\"background-color: #f0f0f0; padding-top: 4px; padding-bottom: 4px; margin-bottom: 4px; font-style: italic;\"><strong>3. J<\/strong><strong><strong>K: <\/strong><\/strong><strong>Tell me about something interesting you have done with MATLAB.<\/strong><\/div>\n<p>GC3: As part of my doctoral research, I developed a comprehensive material selection procedure for a bonding process called partial transient liquid-phase (PTLP) bonding. (Article <a href=\"http:\/\/link.springer.com\/article\/10.1007\/s11661-013-1956-8\">Part I<\/a> and <a href=\"http:\/\/link.springer.com\/article\/10.1007\/s11661-013-1957-7\">Part II<\/a>) As part of this model, I digitized almost 2000 phase diagrams to create a thermodynamic database. The MATLAB routine that I developed used this database, along with some user-selected inputs, to determine all possible material combinations for bonding certain materials. Program outputs included temperature-composition plots for all possible combinations and certain prioritization tables that help determine which bond-material combinations are optimal.<\/p>\n<div style=\"background-color: #f0f0f0; padding-top: 4px; padding-bottom: 4px; margin-bottom: 4px; font-style: italic;\"><strong>4. J<\/strong><strong>K: I understand you have biked across the western United States. \u00a0Can you tell me about that experience? Where did you go? How long did it take?<\/strong><\/div>\n<p><a href=\"https:\/\/blogs.mathworks.com\/community\/files\/Grant-Cook-III.bike_.4.jpg\"><img decoding=\"async\" loading=\"lazy\" width=\"300\" height=\"201\" class=\"size-medium wp-image-4114 alignnone\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/Grant-Cook-III.bike_.4-300x201.jpg\" alt=\"grant-cook-iii-bike-4\" \/><\/a> <a href=\"https:\/\/blogs.mathworks.com\/community\/files\/Grant-Cook-III.bike_.3.jpg\"><img decoding=\"async\" loading=\"lazy\" width=\"300\" height=\"201\" class=\"alignleft size-medium wp-image-4113\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/Grant-Cook-III.bike_.3-300x201.jpg\" alt=\"grant-cook-iii-bike-3\" \/><\/a><\/p>\n<p>GC3: During the summers of 2009 and 2010 I toured parts of Utah, Nevada, California, and Arizona. I traveled up and down mountains, through canyons and multiple national parks, and along precipitous roads for five days each year. Despite being the middle of June for the 2010 trip, many of the mountain passes (some above 10,000 feet) were very cold; one dropped down to 45\u00b0F. On the other hand, one section through Arizona peaked at 111\u00b0F. Fortunately, those were on different days. I also endured many stiff headwinds, some reaching over 40 mph. While I had family along with me as a support crew for both trips, I biked the whole trip solo (no drafting). Other interesting data about these rides, including total pedal revolutions and a spec ad my brother created, are available <a href=\"http:\/\/goc3.com\/cycling\/\">here on my website<\/a>.<\/p>\n<div style=\"background-color: #f0f0f0; padding-top: 4px; padding-bottom: 4px; margin-bottom: 4px; font-style: italic;\"><strong>5. J<\/strong><strong>K: How did you incorporate MATLAB into your ride across the western US?<br \/>\n<\/strong><\/div>\n<p><a href=\"https:\/\/blogs.mathworks.com\/community\/files\/Grant-Cook-III.bike_.2.jpg\"><img decoding=\"async\" loading=\"lazy\" width=\"300\" height=\"238\" class=\"size-medium wp-image-4112 alignnone\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/Grant-Cook-III.bike_.2-300x238.jpg\" alt=\"grant-cook-iii-bike-2\" \/><\/a> <a href=\"https:\/\/blogs.mathworks.com\/community\/files\/Grant-Cook-III.bike_.6.jpg\"><img decoding=\"async\" loading=\"lazy\" width=\"300\" height=\"201\" class=\"size-medium wp-image-4110 alignnone\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/Grant-Cook-III.bike_.6-300x201.jpg\" alt=\"grant-cook-iii-bike-6\" \/><\/a><\/p>\n<p>GC3: I had previously built a MATLAB routine to synthesize the csv files downloaded from my bike\u2019s power meter. It made calculation and tabulation of minimum, maximum, summation, and average values very quick and easy. In addition, these arduous rides inspired me to determine just how much energy the mountains and winds were sapping. So, I wrote a routine in MATLAB based on a mathematical cycling power model to (1) determine accurate coefficient values for my bike setup based on a calibration ride, (2) back calculate my power output using data from the power meter other than power (e.g., wind speed, road grade), (3) correlate the actual and calculated power profiles, and (4) calculate how far I would have gone each ride had there been no wind and on flat ground. For my 2010 summer trip, these calculations showed that I would have gone almost 11% farther with no wind and at least 10% farther than that (21% total) on a windless flat stretch (e.g., in a velodrome). Additional details about this routine, and output plots from MATLAB, are also available <a href=\"http:\/\/goc3.com\/cycling\/power_norm\/\">here<\/a>.<\/p>\n<div style=\"background-color: #f0f0f0; padding-top: 4px; padding-bottom: 4px; margin-bottom: 4px; font-style: italic;\"><strong>6. JK: <\/strong><strong>When and why did you first decide to use MATLAB Central?<\/strong><\/div>\n<p>GC3: I\u2019ve used MATLAB Answers and File Exchange off and on for years. However, I didn\u2019t know about Cody until a little over a year ago when, ironically, a co-worker sent me a link to that site (due to how much I promoted MATLAB as a tool). I immediately loved the site and have created over 100 problems (2nd highest) and solved a majority of posted problems (over 1800).<\/p>\n<div style=\"background-color: #f0f0f0; padding-top: 4px; padding-bottom: 4px; margin-bottom: 4px; font-style: italic;\"><strong>7. JK: <\/strong><strong>What are the greatest benefits you get out of using Cody?<\/strong><\/div>\n<p>GC3: Cody provides a fun and engaging platform for learning about MATLAB\u2019s functionality and improving programming skills. I have repeatedly learned about core functions or programming methods that were new to me and which I have then implemented in my own MATLAB programs to improve their efficiency and\/or make new analyses possible that I simply couldn\u2019t do before.<\/p>\n<div style=\"background-color: #f0f0f0; padding-top: 4px; padding-bottom: 4px; margin-bottom: 4px; font-style: italic;\"><strong>8.\u00a0<\/strong><strong>What contribution are you most proud of?<\/strong><\/div>\n<p>GC3: Probably my <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/problems\/3047-scrabble-scores-2\">Scrabble Scores set of problems on Cody<\/a>. An introductory Cody problem (posted by MathWorks) started off with the simplest case of scoring words in a Scrabble game. I decided to continue that methodology and posted a series of more than ten problems that successively develops a routine until it can fully optimize scoring based on any given board setup and set of tiles.<\/p>\n<div style=\"background-color: #f0f0f0; padding-top: 4px; padding-bottom: 4px; margin-bottom: 4px; font-style: italic;\"><strong>9. J<\/strong><strong>K: What do you think is the most valuable resource on MATLAB Central?<br \/>\n<\/strong><\/div>\n<p>GC3: If the user has free time or wants to increase MATLAB\/programming knowledge, Cody would be most valuable. It\u2019s almost like taking an online programming course without having to pay or take tests. If the user has an immediate need, Answers is probably most valuable. If the user is developing a new program or routine, the File Exchange is a helpful starting point or springboard, as user-developed functions can save time and\/or provide ideas about additional functionality that could be incorporated or more efficient methods of approaching a problem.<\/p>\n<div style=\"background-color: #f0f0f0; padding-top: 4px; padding-bottom: 4px; margin-bottom: 4px; font-style: italic;\"><strong>10. J<\/strong><strong>K: What\u2019s the number one piece of advice you would give to someone to improve their Cody problem?<br \/>\n<\/strong><\/div>\n<p>GC3: People should play through existing problems to get a feel for what is out there\u2014it can help them learn new things about MATLAB and programming while preventing problem duplication.<\/p>\n<div style=\"background-color: #f0f0f0; padding-top: 4px; padding-bottom: 4px; margin-bottom: 4px; font-style: italic;\"><strong>11. JK: <\/strong><strong>Is there a problem on Cody you think everyone in the Community should already know the answer to?<\/strong><\/div>\n<p>GC3: <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/?term=group%3A%22Cody+Challenge%22\">The Cody Challenge<\/a> provides a good starting point for anyone familiar with MATLAB (or programming). Many of the problems in this set are simple and they provide a good warm up to the rest of Cody.<\/p>\n<div style=\"background-color: #f0f0f0; padding-top: 4px; padding-bottom: 4px; margin-bottom: 4px; font-style: italic;\"><strong>12. JK: <\/strong><strong>What\u2019s the most surprising thing you\u2019ve come across on MATLAB Central?<\/strong><\/div>\n<p>GC3: <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/21799-clickablelegend-interactive-highlighting-of-data-in-figures\">A user-contributed clickable-legend function<\/a><\/p>\n<div style=\"background-color: #f0f0f0; padding-top: 4px; padding-bottom: 4px; margin-bottom: 4px; font-style: italic;\"><strong>13. JK: <\/strong><strong>You obviously have an extensive knowledge of MATLAB. \u00a0What would it take to motivate you to participate more in MATLAB Answers?<\/strong><\/div>\n<p>GC3: Perhaps more hours in the day. Between work, family, church, and current side projects (one of which is Cody), I don\u2019t have much free time. I do utilize the Answers site a lot when I\u2019m stumped on how to code something, and I&#8217;m very thankful for the site, but I\u2019m not sure how I could fit in contributing to that site as well. Let me know when someone has posted a routine to the File Exchange that produces more hours per day (or more days per week, month, or year).<\/p>\n<div style=\"background-color: #f0f0f0; padding-top: 4px; padding-bottom: 4px; margin-bottom: 4px; font-style: italic;\"><strong>14. J<\/strong><strong>K: What keeps you coming back to MATLAB Central?<br \/>\n<\/strong><\/div>\n<p>GC3: Search engines.\u00a0 Many answers to questions that come up during programming are found on the Answers site. I\u2019d say I get directed to pages on Answers multiple times per week, on average, and sometimes multiple times on the same day. That\u2019s pretty frequent, considering that I\u2019ve been working as an engineer that does programming and not a full-time programmer.<\/p>\n<div style=\"background-color: #f0f0f0; padding-top: 4px; padding-bottom: 4px; margin-bottom: 4px; font-style: italic;\"><strong>15. JK: <\/strong><strong>What\u2019s one of your favorite non-software non-mathematical things to do?<\/strong><\/div>\n<p>GC3: Currently, create and post quizzes on Sporcle.com. I use MATLAB to develop and efficiently generate the back-end data for many of these quizzes which can be found <a href=\"http:\/\/www.sporcle.com\/user\/goc3\/playlists\">here on the Sporcle site.<\/a> I\u2019ve posted a broad array of quizzes, including topics such as the Legend of Zelda, world flags sorted by color, clickable chess boards, blitz character or shape selection, crosswords, and the periodic table.<\/p>\n<p><a href=\"https:\/\/blogs.mathworks.com\/community\/files\/Grant-Cook-III.bike_.5.jpg\"><img decoding=\"async\" loading=\"lazy\" width=\"300\" height=\"201\" class=\"size-medium wp-image-4109 alignnone\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/Grant-Cook-III.bike_.5-300x201.jpg\" alt=\"grant-cook-iii-bike-5\" \/><\/a><\/p>\n<p>Thanks to Grant for taking the time to answer some questions.\u00a0 Be sure to check back soon for another interesting interview.<\/p>\n<p>If you have not done so already, please sign up for the <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/anniversary\/\/?s_tid=gn_mlc_anni_bg\">15<sup>th<\/sup> Anniversary Celebration<\/a> for a chance to win some prizes including MATLAB T-Shirts.<\/p>\n<p><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/anniversary\/\"><img decoding=\"async\" loading=\"lazy\" width=\"300\" height=\"190\" class=\"alignleft size-medium wp-image-4047\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/15-Year-Anniversary-300x190.jpg\" alt=\"15 Year Anniversary\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img src=\"https:\/\/blogs.mathworks.com\/community\/files\/Grant-Cook-III.15.jpg\" class=\"img-responsive attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"\" decoding=\"async\" loading=\"lazy\" \/><\/div>\n<p>We will be celebrating the 15th Anniversary of MATLAB Central through October.\u00a0 Our second interview in our 15 Questions series is with Grant Cook III.<\/p>\n<p>Grant works for Halliburton and has been&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/community\/2016\/09\/27\/15-questions-grant-cook-iii\/\">read more >><\/a><\/p>\n","protected":false},"author":85,"featured_media":4107,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/4101"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/users\/85"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/comments?post=4101"}],"version-history":[{"count":9,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/4101\/revisions"}],"predecessor-version":[{"id":4121,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/4101\/revisions\/4121"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/media\/4107"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/media?parent=4101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/categories?post=4101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/tags?post=4101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}