{"id":10205,"date":"2018-10-05T09:00:01","date_gmt":"2018-10-05T13:00:01","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/?p=10205"},"modified":"2018-10-03T10:59:06","modified_gmt":"2018-10-03T14:59:06","slug":"handle-classes-live-editor-challenge-winner-student-category","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2018\/10\/05\/handle-classes-live-editor-challenge-winner-student-category\/","title":{"rendered":"Handle Classes &#8211; Live Editor Challenge Winner (Student Category)"},"content":{"rendered":"\r\n<div class=\"content\"><p><a href=\"http:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/869871\">Jiro<\/a>&#8216;s pick this week is <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68240\">Building a Forest of Trees in MATLAB<\/a> by <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/7481421\">Ameer Hamza<\/a>.<\/p><p>Today, I&#8217;d like to highlight the winner of the Student Category of the <a href=\"https:\/\/www.mathworks.com\/academia\/student-challenge\/matlab-online-live-editor-challenge.html\">MATLAB Online Live Editor Challenge 2018<\/a>.<\/p><p>In the challege, students and faculty competed by showcasing the <a href=\"https:\/\/www.mathworks.com\/products\/matlab\/live-editor.html\">Live Editor<\/a> with <a href=\"https:\/\/www.mathworks.com\/products\/matlab-online.html\">MATLAB Online<\/a> on engaging topics. Here, Ameer demonstrated the concept of <a href=\"https:\/\/www.mathworks.com\/help\/matlab\/handle-classes.html\">handle classes<\/a> using an interesting example of constructing a forest of trees. Ameer starts off with a very simple example that describes the basics of handle classes, shows a practical example of linked lists, and then finally extends the concept to the forest example.<\/p><p>In addition to the well-structured storyline, I liked how Ameer included a number of interactive sections where I could change parameters via <a href=\"https:\/\/www.mathworks.com\/help\/matlab\/matlab_prog\/add-interactive-controls-to-a-live-script.html\">sliders<\/a> within the live script.<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_forest_tree\/forest_tree_live_script.gif\" alt=\"\"> <\/p><p>Congratulations, Ameer!<\/p><p><b>Comments<\/b><\/p><p>Give it a try and let us know what you think <a href=\"http:\/\/blogs.mathworks.com\/pick\/?p=10205#respond\">here<\/a> or leave a <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68240#comment\">comment<\/a> for Ameer.<\/p><script language=\"JavaScript\"> <!-- \r\n    function grabCode_0ba81a8648df437f94458ae2a65b8ad7() {\r\n        \/\/ Remember the title so we can use it in the new page\r\n        title = document.title;\r\n\r\n        \/\/ Break up these strings so that their presence\r\n        \/\/ in the Javascript doesn't mess up the search for\r\n        \/\/ the MATLAB code.\r\n        t1='0ba81a8648df437f94458ae2a65b8ad7 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' 0ba81a8648df437f94458ae2a65b8ad7';\r\n    \r\n        b=document.getElementsByTagName('body')[0];\r\n        i1=b.innerHTML.indexOf(t1)+t1.length;\r\n        i2=b.innerHTML.indexOf(t2);\r\n \r\n        code_string = b.innerHTML.substring(i1, i2);\r\n        code_string = code_string.replace(\/REPLACE_WITH_DASH_DASH\/g,'--');\r\n\r\n        \/\/ Use \/x3C\/g instead of the less-than character to avoid errors \r\n        \/\/ in the XML parser.\r\n        \/\/ Use '\\x26#60;' instead of '<' so that the XML parser\r\n        \/\/ doesn't go ahead and substitute the less-than character. \r\n        code_string = code_string.replace(\/\\x3C\/g, '\\x26#60;');\r\n\r\n        copyright = 'Copyright 2018 The MathWorks, Inc.';\r\n\r\n        w = window.open();\r\n        d = w.document;\r\n        d.write('<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');\r\n\r\n        d.title = title + ' (MATLAB code)';\r\n        d.close();\r\n    }   \r\n     --> <\/script><p style=\"text-align: right; font-size: xx-small; font-weight:lighter;   font-style: italic; color: gray\"><br><a href=\"javascript:grabCode_0ba81a8648df437f94458ae2a65b8ad7()\"><span style=\"font-size: x-small;        font-style: italic;\">Get \r\n      the MATLAB code <noscript>(requires JavaScript)<\/noscript><\/span><\/a><br><br>\r\n      Published with MATLAB&reg; R2018b<br><\/p><p class=\"footer\"><br>\r\n      Published with MATLAB&reg; R2018b<br><\/p><\/div><!--\r\n0ba81a8648df437f94458ae2a65b8ad7 ##### SOURCE BEGIN #####\r\n%%\r\n% <http:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/869871 Jiro>'s\r\n% pick this week is\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68240 Building a\r\n% Forest of Trees in MATLAB> by\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/7481421 Ameer\r\n% Hamza>.\r\n%\r\n% Today, I'd like to highlight the winner of the Student Category of the\r\n% <https:\/\/www.mathworks.com\/academia\/student-challenge\/matlab-online-live-editor-challenge.html\r\n% MATLAB Online Live Editor Challenge 2018>.\r\n%\r\n% In the challege, students and faculty competed by showcasing the\r\n% <https:\/\/www.mathworks.com\/products\/matlab\/live-editor.html Live Editor>\r\n% with <https:\/\/www.mathworks.com\/products\/matlab-online.html MATLAB\r\n% Online> on engaging topics. Here, Ameer demonstrated the concept of\r\n% <https:\/\/www.mathworks.com\/help\/matlab\/handle-classes.html handle\r\n% classes> using an interesting example of constructing a forest of trees.\r\n% Ameer starts off with a very simple example that describes the basics of\r\n% handle classes, shows a practical example of linked lists, and then\r\n% finally extends the concept to the forest example.\r\n%\r\n% In addition to the well-structured storyline, I liked how Ameer included\r\n% a number of interactive sections where I could change parameters via\r\n% <https:\/\/www.mathworks.com\/help\/matlab\/matlab_prog\/add-interactive-controls-to-a-live-script.html\r\n% sliders> within the live script.\r\n%\r\n% <<forest_tree_live_script.gif>>\r\n%\r\n% Congratulations, Ameer!\r\n%\r\n% *Comments*\r\n%\r\n% Give it a try and let us know what you think\r\n% <http:\/\/blogs.mathworks.com\/pick\/?p=10205#respond here> or leave a\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68240#comment\r\n% comment> for Ameer.\r\n\r\n##### SOURCE END ##### 0ba81a8648df437f94458ae2a65b8ad7\r\n-->","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_forest_tree\/forest_tree_live_script.gif\" onError=\"this.style.display ='none';\" \/><\/div><p>\r\nJiro&#8216;s pick this week is Building a Forest of Trees in MATLAB by Ameer Hamza.Today, I&#8217;d like to highlight the winner of the Student Category of the MATLAB Online Live Editor Challenge&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2018\/10\/05\/handle-classes-live-editor-challenge-winner-student-category\/\">read more >><\/a><\/p>","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\/10205"}],"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=10205"}],"version-history":[{"count":3,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/10205\/revisions"}],"predecessor-version":[{"id":10211,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/10205\/revisions\/10211"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=10205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=10205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=10205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}