{"id":2159,"date":"2013-03-18T11:00:19","date_gmt":"2013-03-18T16:00:19","guid":{"rendered":"https:\/\/blogs.mathworks.com\/community\/?p=2159"},"modified":"2013-05-08T08:53:40","modified_gmt":"2013-05-08T13:53:40","slug":"challenge-students-with-matlab-practice-on-cody","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/community\/2013\/03\/18\/challenge-students-with-matlab-practice-on-cody\/","title":{"rendered":"Challenge students with MATLAB practice on Cody"},"content":{"rendered":"<p><em>I\u2019ve recently been talking with professors eager to use <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\">Cody<\/a> in the classroom.\u00a0 From these discussions, I\u2019ve learned of seven great reasons to challenge your students with MATLAB practice problems in <em><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\">Cody<\/a><\/em>:<\/em><\/p>\n<p><strong style=\"font-size: 13px; line-height: 19px;\">1.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/strong><strong style=\"font-size: 13px; line-height: 19px;\">Great problems to draw on<\/strong><\/p>\n<p>There are already over <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/?term=&amp;sort=created+asc\">900 ready-made MATLAB programming problems<\/a>, in just the first year online.\u00a0 Search for your subject matter of interest.\u00a0 Check back often, as the Community area is growing rapidly.<\/p>\n<p><strong style=\"font-size: 13px; line-height: 19px;\">2.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/strong><strong style=\"font-size: 13px; line-height: 19px;\">Fits into your workflow<\/strong><\/p>\n<p>Navigate to Cody problems by hyperlink directly from your Learning Management System (LMS), HTML syllabus page or simply\u00a0<a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/problems\/1-times-2-start-here\">link directly into each Cody problem<\/a>\u00a0in email to your students.<\/p>\n<p><strong style=\"font-size: 13px; line-height: 19px;\">3.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/strong><strong style=\"font-size: 13px; line-height: 19px;\">Engaging for the learner<\/strong><\/p>\n<p>As <a href=\"https:\/\/blogs.mathworks.com\/videos\/2012\/01\/27\/cody-for-learning-matlab\/#comment-2981\">Jeff points out on the Community Blogs<\/a>, Cody has an addictive quality you can use to deepen student engagement.<\/p>\n<p><strong style=\"font-size: 13px; line-height: 19px;\">4.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/strong><strong style=\"font-size: 13px; line-height: 19px;\">Can use online and\/or with MATLAB<\/strong><\/p>\n<p>Copy the Cody test suite into desktop MATLAB.\u00a0 Let students write their Cody function with the full power of MATLAB, then paste their answer back into Cody to verify correctness.\u00a0 For example, the <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/problems\/1-times-2-start-here\">Times 2 problem<\/a> could be solved in MATLAB as follows:<\/p>\n<p>testsuite.m:<br \/>\n<code>%%<br \/>\nassert(isequal(times2(1),2));<br \/>\n%%<br \/>\nassert(isequal(times2(11),22));<br \/>\n%%<br \/>\nassert(isequal(times2(-3),-6));<br \/>\n%%<br \/>\nassert(isequal(times2(29),58));<br \/>\n<\/code><\/p>\n<p>times2.m:<br \/>\n<code>function y = times2(x)<br \/>\n% Modify the line below so that the output y is twice the incoming value x<br \/>\ny = 2*x;<br \/>\n% After you fix the code, press the \"Submit\" button, and you're on your way.<br \/>\nend<br \/>\n<\/code><\/p>\n<p>Running testsuite.m confirms the function passes each test case, hence success.<\/p>\n<p><strong style=\"font-size: 13px; line-height: 19px;\">5.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/strong><strong style=\"font-size: 13px; line-height: 19px;\">Create your own problems<\/strong><\/p>\n<p>Try <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/problems\/new\">creating a Cody problem<\/a> for yourself.<\/p>\n<p><strong style=\"font-size: 13px; line-height: 19px;\">6.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/strong><strong style=\"font-size: 13px; line-height: 19px;\">Experiment to see how people try to solve your problems<\/strong><\/p>\n<p>Draw on the MATLAB Central community to confirm your Cody problem challenges exactly the skills you want students to learn.\u00a0 We offer you a large population of MATLAB experts eager to try out the latest MATLAB programming puzzle.\u00a0 Use the Solution Map to see outlier attempts, to better understand how your students could react before offering the practice problem in class.<\/p>\n<p><a href=\"https:\/\/blogs.mathworks.com\/community\/files\/6.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2173\" title=\"6\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/6.png\" alt=\"\" width=\"669\" height=\"476\" \/><\/a><\/p>\n<p><strong style=\"font-size: 13px; line-height: 19px;\">7.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/strong><strong style=\"font-size: 13px; line-height: 19px;\">Identify learning gaps<\/strong><\/p>\n<p>Using the solution map, keep an eye across multiple problems from the point in time you\u2019ve offered in class.\u00a0 Compare these across problems to identify subject matter areas meriting more lecture coverage.\u00a0 For example,<\/p>\n<p><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/problems\/7-column-removal\">Problem 7: Column Removal<\/a><br \/>\n<a href=\"https:\/\/blogs.mathworks.com\/community\/files\/71.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2172\" title=\"7\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/71.png\" alt=\"\" width=\"660\" height=\"179\" \/><\/a><br \/>\nshows a cluster of incorrect attempts worth exploring.\u00a0 You\u2019ll quickly see which topics need follow-up coverage in class.<\/p>\n<p><em>I\u2019ve also prepared a five minute <a href=\"https:\/\/www.mathworks.com\/videos\/challenge-students-with-matlab-practice-on-cody-77142.html\">video<\/a> to demonstrate the above points.\u00a0 Please let me know how you\u2019ve found Cody helpful.<\/em><\/p>\n<p><em>Try Cody for yourself at <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\">www.mathworks.com\/matlabcentral\/cody<\/a>, and get your students addicted to learning in MATLAB.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/6.png\" onError=\"this.style.display ='none';\" \/><\/div>\n<p>I\u2019ve recently been talking with professors eager to use Cody in the classroom.\u00a0 From these discussions, I\u2019ve learned of seven great reasons to challenge your students with MATLAB practice problems in&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/community\/2013\/03\/18\/challenge-students-with-matlab-practice-on-cody\/\">read more >><\/a><\/p>\n","protected":false},"author":80,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[51],"tags":[236],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/2159"}],"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\/80"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/comments?post=2159"}],"version-history":[{"count":18,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/2159\/revisions"}],"predecessor-version":[{"id":2255,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/2159\/revisions\/2255"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/media?parent=2159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/categories?post=2159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/tags?post=2159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}