{"id":9546,"date":"2018-03-09T09:00:02","date_gmt":"2018-03-09T14:00:02","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/?p=9546"},"modified":"2018-03-11T12:20:27","modified_gmt":"2018-03-11T16:20:27","slug":"win-some-cash-with-your-live-scripts","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2018\/03\/09\/win-some-cash-with-your-live-scripts\/","title":{"rendered":"Win some cash with your live scripts!"},"content":{"rendered":"<div class=\"content\">\n<p><a href=\"https:\/\/www.mathworks.com\/\/matlabcentral\/profile\/authors\/869871\">Jiro<\/a>&#8216;s pick this week is these three live script examples:<\/p>\n<div>\n<ul>\n<li><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/60498-modeling-the-performance-of-an-electric-car\">Modeling the performance of an electric car<\/a> by <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/684902\">Daniel Frey<\/a><\/li>\n<li><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/55508-the-chaos-game\">The Chaos Game<\/a> by <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/1415858\">David Garrison<\/a><\/li>\n<li><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/62230-exploring-exoplanets\">Exploring Exoplanets<\/a> by <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/9726223\">MathWorks Physics Team<\/a><\/li>\n<\/ul>\n<\/div>\n<p>These are all <a href=\"https:\/\/www.mathworks.com\/help\/matlab\/matlab_prog\/what-is-a-live-script-or-function.html\">live script<\/a> examples to get you started on our newest <a href=\"https:\/\/www.mathworks.com\/academia\/student-challenge.html\">MATLAB and Simulink Student Challenge<\/a>: <a href=\"https:\/\/www.mathworks.com\/academia\/student-challenge\/matlab-online-live-editor-challenge.html\">MATLAB Online Live Editor Challenge<\/a>.<\/p>\n<p>You have until the end of June (June 29) to submit an engaging live script on a topic of your choice. Be one of the top entries to win some cash prize! Submit an entry form, and share your live script directly from MATLAB Online. Who knows, if you post your submission to the File Exchange, you may also be considered for a Pick.<\/p>\n<p>Check out the <a href=\"https:\/\/www.mathworks.com\/academia\/student-challenge\/matlab-online-live-editor-challenge.html\">challenge page<\/a> for detailed instructions.<\/p>\n<p>\n<a href=\"https:\/\/www.mathworks.com\/academia\/student-challenge\/matlab-online-live-editor-challenge.html\"><br \/>\n<img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_livescriptcomp\/potw_le_challenge.jpg\"><\/a>\n<\/p>\n<p><b>Comments<\/b><\/p>\n<p>As for the three samples, take a look and let us know what you think <a href=\"https:\/\/blogs.mathworks.com\/pick\/?p=9546#respond\">here<\/a> or leave a comment for the authors.<\/p>\n<p><script language=\"JavaScript\"> <!-- \n    function grabCode_7c5f411dd45643f0a5d2cfbd29c58741() {\n        \/\/ Remember the title so we can use it in the new page\n        title = document.title;\n\n        \/\/ Break up these strings so that their presence\n        \/\/ in the Javascript doesn't mess up the search for\n        \/\/ the MATLAB code.\n        t1='7c5f411dd45643f0a5d2cfbd29c58741 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\n        t2='##### ' + 'SOURCE END' + ' #####' + ' 7c5f411dd45643f0a5d2cfbd29c58741';\n    \n        b=document.getElementsByTagName('body')[0];\n        i1=b.innerHTML.indexOf(t1)+t1.length;\n        i2=b.innerHTML.indexOf(t2);\n \n        code_string = b.innerHTML.substring(i1, i2);\n        code_string = code_string.replace(\/REPLACE_WITH_DASH_DASH\/g,'--');\n\n        \/\/ Use \/x3C\/g instead of the less-than character to avoid errors \n        \/\/ in the XML parser.\n        \/\/ Use '\\x26#60;' instead of '<' so that the XML parser\n        \/\/ doesn't go ahead and substitute the less-than character. \n        code_string = code_string.replace(\/\\x3C\/g, '\\x26#60;');\n\n        copyright = 'Copyright 2018 The MathWorks, Inc.';\n\n        w = window.open();\n        d = w.document;\n        d.write('\n\n<pre>\\n');\r\n        d.write(code_string);\r\n\r\n        \/\/ Add copyright line at the bottom if specified.\r\n        if (copyright.length > 0) {\r\n            d.writeln('');\r\n            d.writeln('%%');\r\n            if (copyright.length > 0) {\r\n                d.writeln('% _' + copyright + '_');\r\n            }\r\n        }\r\n\r\n        d.write('<\/pre>\n\n\\n');\n\n        d.title = title + ' (MATLAB code)';\n        d.close();\n    }   \n     --> <\/script><\/p>\n<p style=\"text-align: right; font-size: xx-small; font-weight:lighter;   font-style: italic; color: gray\"><a href=\"javascript:grabCode_7c5f411dd45643f0a5d2cfbd29c58741()\"><span style=\"font-size: x-small;        font-style: italic;\">Get<br \/>\n      the MATLAB code <noscript>(requires JavaScript)<\/noscript><\/span><\/a><\/p>\n<p>      Published with MATLAB&reg; R2017b<\/p>\n<\/div>\n<p><!--\n7c5f411dd45643f0a5d2cfbd29c58741 ##### SOURCE BEGIN #####\n%%\n% <https:\/\/www.mathworks.com\/\/matlabcentral\/profile\/authors\/869871\n% Jiro>'s pick this week is these three live script examples:\n%\n% * <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/60498-modeling-the-performance-of-an-electric-car Modeling\n% the performance of an electric car> by\n% <https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/684902 Daniel\n% Frey>\n% * <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/55508-the-chaos-game The Chaos\n% Game> by <https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/1415858\n% David Garrison>\n% * <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/62230-exploring-exoplanets Exploring\n% Exoplanets> by\n% <https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/9726223\n% MathWorks Physics Team>\n%\n% These are all\n% <https:\/\/www.mathworks.com\/help\/matlab\/matlab_prog\/what-is-a-live-script-or-function.html\n% live script> examples to get you started on our newest\n% <https:\/\/www.mathworks.com\/academia\/student-challenge.html MATLAB and\n% Simulink Student Challenge>:\n% <https:\/\/www.mathworks.com\/academia\/student-challenge\/matlab-online-live-editor-challenge.html\n% MATLAB Online Live Editor Challenge>.\n%\n% You have until the end of June (June 29) to submit an engaging live\n% script on a topic of your choice. Be one of the top entries to win some\n% cash prize! Submit an entry form, and share your live script directly\n% from MATLAB Online. Who knows, if you post your submission to the File\n% Exchange, you may also be considered for a Pick. \n%\n% Check out the\n% <https:\/\/www.mathworks.com\/academia\/student-challenge\/matlab-online-live-editor-challenge.html\n% challenge page> for detailed instructions.\n%\n% <html>\n% <a href=\"https:\/\/www.mathworks.com\/academia\/student-challenge\/matlab-online-live-editor-challenge.html\">\n% <img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_livescriptcomp\/potw_le_challenge.jpg\"><\/a>\n% <\/html>\n%\n% *Comments*\n%\n% As for the three samples, take a look and let us know what you think\n% <https:\/\/blogs.mathworks.com\/pick\/?p=9546#respond here> or leave a\n% comment for the authors.\n\n##### SOURCE END ##### 7c5f411dd45643f0a5d2cfbd29c58741\n--><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_livescriptcomp\/potw_le_challenge.jpg\" onError=\"this.style.display ='none';\" \/><\/div>\n<p>\nJiro&#8216;s pick this week is these three live script examples:<\/p>\n<p>Modeling the performance of an electric car by Daniel Frey<br \/>\nThe Chaos Game by David Garrison<br \/>\nExploring Exoplanets by MathWorks&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2018\/03\/09\/win-some-cash-with-your-live-scripts\/\">read more >><\/a><\/p>\n","protected":false},"author":35,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/9546"}],"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\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=9546"}],"version-history":[{"count":4,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/9546\/revisions"}],"predecessor-version":[{"id":9558,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/9546\/revisions\/9558"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=9546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=9546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=9546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}