{"id":3039,"date":"2018-09-05T09:14:19","date_gmt":"2018-09-05T14:14:19","guid":{"rendered":"https:\/\/blogs.mathworks.com\/loren\/?p=3039"},"modified":"2018-08-23T09:21:17","modified_gmt":"2018-08-23T14:21:17","slug":"winners-of-the-matlab-online-live-editor-challenge","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/loren\/2018\/09\/05\/winners-of-the-matlab-online-live-editor-challenge\/","title":{"rendered":"Winners of the MATLAB Online Live Editor Challenge"},"content":{"rendered":"<div class=\"content\"><!--introduction--><p>Today I&#8217;d like to introduce a guest blogger, David Garrison, who is a MATLAB Product Manager here at MathWorks.<\/p><!--\/introduction--><h3>Contents<\/h3><div><ul><li><a href=\"#41ac99d0-8ffe-47c9-8041-88b41f7802e4\">The Results Are In!<\/a><\/li><li><a href=\"#5d46ee02-8d70-479c-a554-a9a3fa8b85f8\">Winners in the Student Category<\/a><\/li><li><a href=\"#93fee614-bdcc-4dd4-998a-4897810917a6\">Winners in the Faculty Category<\/a><\/li><li><a href=\"#c8dfded9-7867-4faa-bf1d-4153dcfbd9da\">What do you think about the winners?<\/a><\/li><\/ul><\/div><h4>The Results Are In!<a name=\"41ac99d0-8ffe-47c9-8041-88b41f7802e4\"><\/a><\/h4><p>Hello everyone.  A few months ago I announced the MATLAB Online Live Editor Challenge - a competition for students and faculty to show off their live scripts.  We received a lot of great entries from universities from all over the world.  Loren has been kind enought to let me use her blog to show off the winning entries.<\/p><h4>Winners in the Student Category<a name=\"5d46ee02-8d70-479c-a554-a9a3fa8b85f8\"><\/a><\/h4><p><b>1st Place: Building a Forest of Trees in MATLAB<\/b><\/p><p><i>Ameer Hamza Khan - Hong Kong Polytechnic University<\/i><\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"http:\/\/blogs.mathworks.com\/images\/loren\/2018\/Student1a.jpg\" alt=\"\"> <\/p><p>The Forest of Trees Live Script demonstrates how to create and visualize a tree data structure in MATLAB. It demonstrates how to use classes and object-oriented programming in MATLAB to construct custom data structures and uses MATLAB graphics to visualize and explain the tree data structure. The live script also makes use of numeric sliders to allow the user to customize their tree, and see how changing each option affects the resulting tree by watching the graphical output change in response to the slider.<\/p><p><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68240-building-a-forest-of-trees-in-matlab?focused=cb6c2624-d95f-4c27-b219-c8af6f5cfa75&amp;tab=example\">View the full live script<\/a><\/p><p><b>2nd Place: How biodiversity is maintained in competitive ecosystems<\/b><\/p><p><i>Violeta Calleja Solanas - University of Zaragoza<\/i><\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"http:\/\/blogs.mathworks.com\/images\/loren\/2018\/Student2a.jpg\" alt=\"\"> <\/p><p>This MATLAB live script demonstrates two models that explain species coexistence in ecosystems: high-order interactions and sort-ranged spatial interactions. The script simulates examples of ecosystems and uses live controls to allow users to interact with the models and observe the changes. The assumptions and equations behind each model are explained in the rich text. The script also explores the power law in the distribution of communities' sizes in the simulated ecosystem.<\/p><p><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68241-how-biodiversity-is-maintained-in-competitive-ecosystems?focused=fcb252a8-44f5-4cfa-9e9e-70135bbc05ad&amp;tab=example\">View the full live script<\/a><\/p><p><b>3rd Place: Neural Networks: The Universality Theorem<\/b><\/p><p><i>Mayank Jhamtani - Birla Institute of Technology and Science<\/i><\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"http:\/\/blogs.mathworks.com\/images\/loren\/2018\/Student3a.jpg\" alt=\"\"> <\/p><p>The Neural Networks: Universality Theorem project explores the Universal Approximation Theorem, which states that a single layer of \"artificial neurons\" can be used to approximate any function, with an arbitrarily small approximation error. This project presents an intuitive proof of the theorem by means of visual aids. The project allows the user to vary the different network parameters to approximate an arbitrary function f(x).<\/p><p><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68243-neural-networks-the-universality-theorem?focused=049d790e-74f6-4248-b77a-fbd0eca6af56&amp;tab=example\">View the full live script<\/a><\/p><p><b>4th Place: Calculate the Sag of Conductors using MATLAB<\/b><\/p><p><i>Timon Viola - Budapest University of Technology and Economics<\/i><\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"http:\/\/blogs.mathworks.com\/images\/loren\/2018\/Student4a.jpg\" alt=\"\"> <\/p><p>This live script shows how to simulate the sag of power line conductors. It allows users to explore the effects of different parameters, such as temperature, conductor type, and tension span, on the calculation of points of the catenary. The results are visualized in a plot.<\/p><p><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68244-calculate-the-sag-of-conductors-using-matlab?focused=48f367fd-7f4c-48a1-90b2-889849ccc942&amp;tab=example\">View the full live script<\/a><\/p><p><b>5th Place: Digital Processing of Electromyographic Signals for Control<\/b><\/p><p><i>David Leonardo Rodriguez Sarmiento: Antonio Nari&ntilde;o University<\/i><\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"http:\/\/blogs.mathworks.com\/images\/loren\/2018\/Student5a.jpg\" alt=\"\"> <\/p><p>This live script shows how complex mathematical calculations of digital signal processing (DSP) can be performed to infer information from biological signals (biosignals) acquired by sensors<\/p><p><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68245-digital-processing-of-electromyographic-signals-for-control?focused=8007e7ee-29d3-419f-a58a-8dc7b6f9d933&amp;tab=example\">View the full live script<\/a><\/p><h4>Winners in the Faculty Category<a name=\"93fee614-bdcc-4dd4-998a-4897810917a6\"><\/a><\/h4><p><b>1st Place: The dynamics of rigid bodies system<\/b><\/p><p><i>Anna Sibilska-Mroziewicz - Warsaw University of Technology<\/i><\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"http:\/\/blogs.mathworks.com\/images\/loren\/2018\/Faculty1a.jpg\" alt=\"\"> <\/p><p>The Dynamics of Rigid Bodies Systems Live Script uses the power of live scripts to teach students the concept. It provides detailed graphics to illustrate a given system, and allows students to finalize the equations needed to model the system, providing useful, custom error messages if they model the system incorrectly. Students can adjust various values of system using numeric slider bars. The live script also makes use of the power of Symbolic Math Toolbox in its equations, including specifying units for each parameter in the system.<\/p><p><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68242-the-dynamics-of-rigid-bodies-system?focused=79e895fd-766c-4ef6-bc85-1e176eb0ed26&amp;tab=example\">View the full live script<\/a><\/p><p><b>2nd Place: Influence Permanent Magnet DC Motor Parameters<\/b><\/p><p><i>Alexander Ivanov - Skolkovo Institute of Science and Technology<\/i><\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"http:\/\/blogs.mathworks.com\/images\/loren\/2018\/Faculty2a.jpg\" alt=\"\"> <\/p><p>This live script explains the working principles of a PMDC motor and how it can be modeled. The transient process is calculated and plotted. The script also explores the influence of the armature resistance, armature inductance, armature inertia, magnetic flux and supply voltage on the transient process.<\/p><p><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68259-influence-permanent-magnet-dc-motor-parameters?focused=a57315db-2d87-4446-a679-b9ef8b20e2cf&amp;tab=example\">View the full live script<\/a><\/p><p><b>3rd Place: Visualization and analysis of an Electrocardiogram Signal<\/b><\/p><p>Constantino Reyes-Aldasoro - City University of London<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"http:\/\/blogs.mathworks.com\/images\/loren\/2018\/Faculty3a.jpg\" alt=\"\"> <\/p><p>The Electrocardiogram Live Script uses Signal Processing Toolbox to find peaks of data from an EKG and shows how to refine the peaks based on the user's data. The live script also shows how to gather data from various sources, including data from a web site, and provides some tips on visualizing complex data in MATLAB figures to help see critical regions, such as peaks, more clearly. In addition, it illustrates how to infer heart rate from the peaks of the electrocardiogram data.<\/p><p><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68246-visualization-and-analysis-of-an-electrocardiogram-signal?focused=7fbc0610-5e23-435e-a271-ddd80d1065d0&amp;tab=example\">View the full live script<\/a><\/p><h4>What do you think about the winners?<a name=\"c8dfded9-7867-4faa-bf1d-4153dcfbd9da\"><\/a><\/h4><p>Let the winners know what you think of their live scripts <a href=\"https:\/\/blogs.mathworks.com\/loren\/?p=3039#respond\">here<\/a>.<\/p><script language=\"JavaScript\"> <!-- \r\n    function grabCode_cdfe8a0bae424af98705b354e6e2a444() {\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='cdfe8a0bae424af98705b354e6e2a444 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' cdfe8a0bae424af98705b354e6e2a444';\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_cdfe8a0bae424af98705b354e6e2a444()\"><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; R2018a<br><\/p><\/div><!--\r\ncdfe8a0bae424af98705b354e6e2a444 ##### SOURCE BEGIN #####\r\n%% Winners of the MATLAB Online Live Editor Challenge\r\n% Today I\u00e2\u20ac&#x2122;d like to introduce a guest blogger, David Garrison, who is a\r\n% MATLAB Product Manager here at MathWorks. \r\n\r\n%% The Results Are In!\r\n% Hello everyone.  A few months ago I announced the MATLAB Online Live\r\n% Editor Challenge - a competition for students and faculty to show off\r\n% their live scripts.  We received a lot of great entries from universities\r\n% from all over the world.  Loren has been kind enought to let me use her\r\n% blog to show off the winning entries.\r\n\r\n%% Winners in the Student Category\r\n% *1st Place: Building a Forest of Trees in MATLAB*\r\n%\r\n% _Ameer Hamza Khan - Hong Kong Polytechnic University_\r\n%\r\n% <<Student1a.jpg>>\r\n%\r\n% The Forest of Trees Live Script demonstrates how to create and visualize\r\n% a tree data structure in MATLAB. It demonstrates how to use classes and\r\n% object-oriented programming in MATLAB to construct custom data structures\r\n% and uses MATLAB graphics to visualize and explain the tree data\r\n% structure. The live script also makes use of numeric sliders to allow the\r\n% user to customize their tree, and see how changing each option affects\r\n% the resulting tree by watching the graphical output change in response to\r\n% the slider.\r\n%\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68240-building-a-forest-of-trees-in-matlab?focused=cb6c2624-d95f-4c27-b219-c8af6f5cfa75&tab=example View the full live script>\r\n%\r\n% *2nd Place: How biodiversity is maintained in competitive ecosystems*\r\n%\r\n% _Violeta Calleja Solanas - University of Zaragoza_\r\n%\r\n% <<Student2a.jpg>>\r\n%\r\n% This MATLAB live script demonstrates two models that explain species\r\n% coexistence in ecosystems: high-order interactions and sort-ranged\r\n% spatial interactions. The script simulates examples of ecosystems and\r\n% uses live controls to allow users to interact with the models and observe\r\n% the changes. The assumptions and equations behind each model are\r\n% explained in the rich text. The script also explores the power law in the\r\n% distribution of communities' sizes in the simulated ecosystem.\r\n%\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68241-how-biodiversity-is-maintained-in-competitive-ecosystems?focused=fcb252a8-44f5-4cfa-9e9e-70135bbc05ad&tab=example View the full live script>\r\n%\r\n% *3rd Place: Neural Networks: The Universality Theorem*\r\n%\r\n% _Mayank Jhamtani - Birla Institute of Technology and Science_\r\n%\r\n% <<Student3a.jpg>>\r\n%\r\n% The Neural Networks: Universality Theorem project explores the Universal\r\n% Approximation Theorem, which states that a single layer of \"artificial\r\n% neurons\" can be used to approximate any function, with an arbitrarily\r\n% small approximation error. This project presents an intuitive proof of\r\n% the theorem by means of visual aids. The project allows the user to vary\r\n% the different network parameters to approximate an arbitrary function\r\n% f(x).\r\n%\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68243-neural-networks-the-universality-theorem?focused=049d790e-74f6-4248-b77a-fbd0eca6af56&tab=example View the full live script>\r\n%\r\n% *4th Place: Calculate the Sag of Conductors using MATLAB*\r\n%\r\n% _Timon Viola - Budapest University of Technology and Economics_\r\n%\r\n% <<Student4a.jpg>>\r\n%\r\n% This live script shows how to simulate the sag of power line conductors.\r\n% It allows users to explore the effects of different parameters, such as\r\n% temperature, conductor type, and tension span, on the calculation of\r\n% points of the catenary. The results are visualized in a plot.\r\n%\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68244-calculate-the-sag-of-conductors-using-matlab?focused=48f367fd-7f4c-48a1-90b2-889849ccc942&tab=example View the full live script>\r\n%\r\n% *5th Place: Digital Processing of Electromyographic Signals for Control*\r\n%\r\n% _David Leonardo Rodriguez Sarmiento: Antonio Nari\u00c3\u00b1o University_\r\n%\r\n% <<Student5a.jpg>>\r\n%\r\n% This live script shows how complex mathematical calculations of digital\r\n% signal processing (DSP) can be performed to infer information from\r\n% biological signals (biosignals) acquired by sensors\r\n%\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68245-digital-processing-of-electromyographic-signals-for-control?focused=8007e7ee-29d3-419f-a58a-8dc7b6f9d933&tab=example View the full live script>\r\n\r\n%% Winners in the Faculty Category\r\n% *1st Place: The dynamics of rigid bodies system*\r\n%\r\n% _Anna Sibilska-Mroziewicz - Warsaw University of Technology_\r\n%\r\n% <<Faculty1a.jpg>>\r\n%\r\n% The Dynamics of Rigid Bodies Systems Live Script uses the power of live\r\n% scripts to teach students the concept. It provides detailed graphics to\r\n% illustrate a given system, and allows students to finalize the equations\r\n% needed to model the system, providing useful, custom error messages if\r\n% they model the system incorrectly. Students can adjust various values of\r\n% system using numeric slider bars. The live script also makes use of the\r\n% power of Symbolic Math Toolbox in its equations, including specifying\r\n% units for each parameter in the system.\r\n%\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68242-the-dynamics-of-rigid-bodies-system?focused=79e895fd-766c-4ef6-bc85-1e176eb0ed26&tab=example View the full live script>\r\n%\r\n%\r\n% *2nd Place: Influence Permanent Magnet DC Motor Parameters*\r\n%\r\n% _Alexander Ivanov - Skolkovo Institute of Science and Technology_\r\n%\r\n% <<Faculty2a.jpg>>\r\n%\r\n% This live script explains the working principles of a PMDC motor and how\r\n% it can be modeled. The transient process is calculated and plotted. The\r\n% script also explores the influence of the armature resistance, armature\r\n% inductance, armature inertia, magnetic flux and supply voltage on the\r\n% transient process.\r\n%\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68259-influence-permanent-magnet-dc-motor-parameters?focused=a57315db-2d87-4446-a679-b9ef8b20e2cf&tab=example View the full live script>\r\n%\r\n% *3rd Place: Visualization and analysis of an Electrocardiogram Signal*\r\n%\r\n% Constantino Reyes-Aldasoro - City University of London\r\n%\r\n% <<Faculty3a.jpg>>\r\n%\r\n% The Electrocardiogram Live Script uses Signal Processing Toolbox to find\r\n% peaks of data from an EKG and shows how to refine the peaks based on the\r\n% user's data. The live script also shows how to gather data from various\r\n% sources, including data from a web site, and provides some tips on\r\n% visualizing complex data in MATLAB figures to help see critical regions,\r\n% such as peaks, more clearly. In addition, it illustrates how to infer\r\n% heart rate from the peaks of the electrocardiogram data.\r\n%\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68246-visualization-and-analysis-of-an-electrocardiogram-signal?focused=7fbc0610-5e23-435e-a271-ddd80d1065d0&tab=example View the full live script>\r\n%\r\n%% What do you think about the winners? \r\n% Let the winners know what you think of their live scripts\r\n% <https:\/\/blogs.mathworks.com\/loren\/?p=3039#respond here>.\r\n##### SOURCE END ##### cdfe8a0bae424af98705b354e6e2a444\r\n-->","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"http:\/\/blogs.mathworks.com\/images\/loren\/2018\/Student1a.jpg\" onError=\"this.style.display ='none';\" \/><\/div><!--introduction--><p>Today I&#8217;d like to introduce a guest blogger, David Garrison, who is a MATLAB Product Manager here at MathWorks.... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/loren\/2018\/09\/05\/winners-of-the-matlab-online-live-editor-challenge\/\">read more >><\/a><\/p>","protected":false},"author":39,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[33,40],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/3039"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/users\/39"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/comments?post=3039"}],"version-history":[{"count":2,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/3039\/revisions"}],"predecessor-version":[{"id":3043,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/3039\/revisions\/3043"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/media?parent=3039"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/categories?post=3039"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/tags?post=3039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}