{"group":{"id":1,"name":"Community","lockable":false,"created_at":"2012-01-18T18:02:15.000Z","updated_at":"2026-04-06T14:01:22.000Z","description":"Problems submitted by members of the MATLAB Central community.","is_default":true,"created_by":161519,"badge_id":null,"featured":false,"trending":false,"solution_count_in_trending_period":0,"trending_last_calculated":"2026-04-06T00:00:00.000Z","image_id":null,"published":true,"community_created":false,"status_id":2,"is_default_group_for_player":false,"deleted_by":null,"deleted_at":null,"restored_by":null,"restored_at":null,"description_opc":null,"description_html":null,"published_at":null},"problems":[{"id":44678,"title":"Calculate time taken by light to reach earth surface","description":"We know the time(seconds) taken by light to reach surface of earth. What if the distance varies yearly or source of light moves from one planet to another? How the time(seconds) varies?\r\n","description_html":"\u003cp\u003eWe know the time(seconds) taken by light to reach surface of earth. What if the distance varies yearly or source of light moves from one planet to another? How the time(seconds) varies?\u003c/p\u003e","function_template":"function y= light_time(x)\r\n  \r\n  y=x;\r\n  \r\nend","test_suite":"%%\r\nx =150000000 ;\r\ny_correct = 500;\r\nassert(isequal(light_time(x),y_correct))\r\n%%\r\nx=1800000;\r\ny_correct = 6;\r\nassert(isequal(light_time(x),y_correct))\r\n%%\r\nx=300000;\r\ny_correct = 1;\r\nassert(isequal(light_time(x),y_correct))\r\n%%\r\nx=57909000;\r\ny_correct = 193;\r\nassert(isequal(light_time(x),y_correct))\r\n%%\r\nx=5790960000;\r\ny_correct = 1.9303e+04;\r\nassert(isequal(light_time(x),y_correct))\r\n\r\n\r\n\r\n\r\n\r\n","published":true,"deleted":false,"likes_count":1,"comments_count":2,"created_by":220577,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":49,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2018-06-07T09:16:16.000Z","updated_at":"2026-03-04T13:43:37.000Z","published_at":"2018-06-07T09:16:22.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eWe know the time(seconds) taken by light to reach surface of earth. What if the distance varies yearly or source of light moves from one planet to another? How the time(seconds) varies?\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":44634,"title":"Basic matrix operations using standard MATLAB commands","description":"Create the matrix:\r\n\r\n 1.0e+15 *\r\n\r\n    0.0000    0.0000    0.0000    0.0000    0.0000\r\n    0.0000    0.0000    0.0000    0.0000    0.0000\r\n    0.0001    0.0010    0.0100    0.1000    1.0000\r\n\r\nFind the row vector of all column means\r\n\r\nHint: Use _logspace_ to create the matrix. Avoid looking at the test suite before writing a solution","description_html":"\u003cp\u003eCreate the matrix:\u003c/p\u003e\u003cpre\u003e 1.0e+15 *\u003c/pre\u003e\u003cpre\u003e    0.0000    0.0000    0.0000    0.0000    0.0000\r\n    0.0000    0.0000    0.0000    0.0000    0.0000\r\n    0.0001    0.0010    0.0100    0.1000    1.0000\u003c/pre\u003e\u003cp\u003eFind the row vector of all column means\u003c/p\u003e\u003cp\u003eHint: Use \u003ci\u003elogspace\u003c/i\u003e to create the matrix. Avoid looking at the test suite before writing a solution\u003c/p\u003e","function_template":"function y = matrix_ls_means()\r\n  y = x;\r\nend","test_suite":"%%\r\ny_correct = mean([logspace(1,5,5);logspace(6,10,5);logspace(11,15,5)]);\r\nassert(isequal(matrix_ls_means(),y_correct))\r\n","published":true,"deleted":false,"likes_count":2,"comments_count":2,"created_by":171559,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":57,"test_suite_updated_at":"2018-05-09T05:37:01.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2018-05-09T05:32:41.000Z","updated_at":"2026-02-17T08:19:25.000Z","published_at":"2018-05-09T05:35:49.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eCreate the matrix:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"code\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c![CDATA[ 1.0e+15 *\\n\\n    0.0000    0.0000    0.0000    0.0000    0.0000\\n    0.0000    0.0000    0.0000    0.0000    0.0000\\n    0.0001    0.0010    0.0100    0.1000    1.0000]]\u003e\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eFind the row vector of all column means\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eHint: Use\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:rPr\u003e\u003cw:i/\u003e\u003c/w:rPr\u003e\u003cw:t\u003elogspace\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e to create the matrix. Avoid looking at the test suite before writing a solution\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":1791,"title":"02 - Vector Variables 1","description":"Make the following variable:\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_2a.png\u003e\u003e","description_html":"\u003cp\u003eMake the following variable:\u003c/p\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_2a.png\"\u003e","function_template":"function aVec = VectorFunc()\r\n  *Insert code here\r\nend","test_suite":"%%\r\naVec = [3.14 15 9 26];\r\na = VectorFunc();\r\nassert(isequal(a,aVec))\r\n","published":true,"deleted":false,"likes_count":2,"comments_count":1,"created_by":15468,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":721,"test_suite_updated_at":"2013-08-27T09:52:03.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2013-08-13T13:23:08.000Z","updated_at":"2026-03-05T09:24:53.000Z","published_at":"2013-08-13T13:23:08.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/media/image1.png\"}],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eMake the following variable:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId1\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"},{\"partUri\":\"/media/image1.png\",\"contentType\":\"image/png\",\"content\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAO4AAAAmCAIAAABMNzCsAAAJSUlEQVR42u2cf1RT5xnH7w0CBYow0KK2FscgKkx+WaWdP6AO8FDkOCezZThLkZYfCsi02qIeJ4UT7SwBgcMsQ1EUPPiD6gYEAlIUVhAEQR0awLGBIBhQCARCkstu7iUhyU1CCLcB4f3+GZJ77/O+n/d5v8/z3gM0CgQ0KwSBIQACKAMBAZSBgADKQEAAZ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04u/ePhy06rhijLccZvLf3aRg/GjDK7/V5Fc79AKvXW7V9rivL0hpkfs13m0G+wJcVZD37DJLh2HGSk7+l9lshgKEBZyOt82jagNYOB7gxZEevVSDwzGWU1Q5g0x+oVxJPgOOp4qWzTkFt55lQpFh32+oodTcp4ED/RGGXRxKD1/c64f3FRj/vP4/5BR8M8Fuka/j7tZnLEny+1DyPEFC5d7Y1FwL31GdUQhm2+ynzMx0j9Mesr/6Dz2M8HSk64USADz8jCIbx7/fwOLfxwwRPOz4Qy1kg2tloXcrYAr5TR8n+X58cZHXx590yYRRQXJy2jjD8tAWXRXbCarAB7bAUhTMXI/ph9GutamCt5C0JDcVoubaG+qXIvFbWVfmW141JlNxb7nX1uSwknfxqijPTUx69dMA9/WcU7NKt9mEXzXoQajPX+GbIci5LvrROuljLVnkT8/1bErhFdx8DS1nmllVNwXN5z8c95PbcPfmRFgUwc3f2C/D3f2xjBJIfjUSUH16JXZMQGF50t2vkCuVMoIspEb6MMaNJQlpznSSQF9HiTAWu+RhNDmMpNST1BVBqOkpHkNhQm4Z1yqbVKTl8ZGeh6UMwoLK/Dr4n0t9Uwb9X3DBN5FXbVFynvoAlettX+IzvrB0Z5C1v+1SIh70V9BZPBYBSXN/bxEPIGELyvPPsE3lcGAigDlIEAygBlIIAyQBkIoCwXNgQtjUpv5AMGZoWEPFa8n/UcRHm47npMqFjg/2C81sL/D4ZYx4pZQ3MKZaC5KIAyEEAZCAigDAQEUAYCAigDAZSBgGa+/g+Q+Mcetzv5SwAAAABJRU5ErkJggg==\"}]}"},{"id":47445,"title":"Solve the equation. Find X.","description":null,"description_html":"\u003cdiv style = \"text-align: start; line-height: 20.44px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, monospace; font-style: normal; font-size: 14px; font-weight: 400; text-decoration: none solid rgb(0, 0, 0); white-space: normal; \"\u003e\u003cdiv style=\"block-size: 109.667px; display: block; min-width: 0px; padding-block-start: 0px; padding-top: 0px; perspective-origin: 406.5px 54.8333px; transform-origin: 406.5px 54.8333px; vertical-align: baseline; \"\u003e\u003cdiv style=\"block-size: 20.6667px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 383.5px 10.3333px; text-align: left; transform-origin: 383.5px 10.3333px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 0px 0px; transform-origin: 0px 0px; \"\u003e\u003cspan style=\"\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 20.6667px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 383.5px 10.3333px; text-align: left; transform-origin: 383.5px 10.3333px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 0px 0px; transform-origin: 0px 0px; \"\u003e\u003cspan style=\"\"\u003e% When input A is [3 4 7], the equation is '3X+4=7 '. then, calculate X.\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 20.6667px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 383.5px 10.3333px; text-align: left; transform-origin: 383.5px 10.3333px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 0px 0px; transform-origin: 0px 0px; \"\u003e\u003cspan style=\"\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 20.6667px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 383.5px 10.3333px; text-align: left; transform-origin: 383.5px 10.3333px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 0px 0px; transform-origin: 0px 0px; \"\u003e\u003cspan style=\"\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e","function_template":"function x = your_fcn_name(A)\r\n  x = A;\r\nend","test_suite":"%%\r\nA = [3 4 7];\r\ny_correct = 1;\r\nassert(isequal(your_fcn_name(A),y_correct))\r\n","published":true,"deleted":false,"likes_count":1,"comments_count":2,"created_by":71768,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":64,"test_suite_updated_at":"2020-11-11T07:52:49.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2020-11-11T07:50:41.000Z","updated_at":"2026-02-15T11:09:35.000Z","published_at":"2020-11-11T07:50:41.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e% When input A is [3 4 7], the equation is '3X+4=7 '. then, calculate X.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\",\"relationship\":null}],\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"target\":\"/matlab/document.xml\",\"relationshipId\":\"rId1\"}]}"},{"id":45927,"title":"GPA","description":"Math's credit is 5 and you got x | Physics's credit 7 and you got y what is your GPA ","description_html":"\u003cp\u003eMath's credit is 5 and you got x | Physics's credit 7 and you got y what is your GPA\u003c/p\u003e","function_template":"function z = gpa(x,y)\r\n  z = x and y;\r\nend","test_suite":"%%\r\nx = 75;\r\ny = 81;\r\nz_correct = 78.5;\r\nassert(isequal(gpa(x,y),z_correct))\r\n","published":true,"deleted":false,"likes_count":1,"comments_count":0,"created_by":441903,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":115,"test_suite_updated_at":"2020-06-14T12:04:49.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2020-06-14T12:00:53.000Z","updated_at":"2026-02-15T11:17:42.000Z","published_at":"2020-06-14T12:04:06.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eMath's credit is 5 and you got x | Physics's credit 7 and you got y what is your GPA\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":45933,"title":"Watt","description":"Ampere x Volt = Watt","description_html":"\u003cp\u003eAmpere x Volt = Watt\u003c/p\u003e","function_template":"function y = watt(A,V)\r\n  y = A and V;\r\nend","test_suite":"%%\r\nV = 24;\r\nA = 15;\r\ny_correct = 360;\r\nassert(isequal(watt(A,V),y_correct))\r\n","published":true,"deleted":false,"likes_count":2,"comments_count":0,"created_by":441903,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":112,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2020-06-14T12:17:37.000Z","updated_at":"2026-02-15T11:18:17.000Z","published_at":"2020-06-14T12:17:37.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eAmpere x Volt = Watt\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":43687,"title":"Change on Spiral Matrix","description":"n\u003e=3, generate a matrix of nth such that n^2 is the max number, and max number must be in [1,1] or [end, end]. One example will be suggested below:\r\nExample : n=4\r\nanswer :\r\n10  9  8  7\r\n11  2  1  6\r\n12  3  4  5\r\n13  14 15 16 ","description_html":"\u003cp\u003en\u0026gt;=3, generate a matrix of nth such that n^2 is the max number, and max number must be in [1,1] or [end, end]. One example will be suggested below:\r\nExample : n=4\r\nanswer :\r\n10  9  8  7\r\n11  2  1  6\r\n12  3  4  5\r\n13  14 15 16\u003c/p\u003e","function_template":"function y = your_fcn_name(n)\r\n  y = n ;\r\nend","test_suite":"%%\r\nn = 5;\r\ny_correct = [25 24 23 22 21;10 9 8 7 20;11 2 1 6 19;12 3 4 5 18;13 14 15 16 17];\r\nassert(isequal(your_fcn_name(n),y_correct))","published":true,"deleted":false,"likes_count":1,"comments_count":0,"created_by":89616,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":59,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2016-11-27T14:08:23.000Z","updated_at":"2026-03-15T03:52:53.000Z","published_at":"2016-11-27T14:09:43.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003en\u0026gt;=3, generate a matrix of nth such that n^2 is the max number, and max number must be in [1,1] or [end, end]. One example will be suggested below: Example : n=4 answer : 10 9 8 7 11 2 1 6 12 3 4 5 13 14 15 16\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":50437,"title":"Number Puzzle - 080","description":null,"description_html":"\u003cdiv style = \"text-align: start; line-height: 20.44px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, monospace; font-style: normal; font-size: 14px; font-weight: 400; text-decoration: none solid rgb(0, 0, 0); white-space: normal; \"\u003e\u003cdiv style=\"block-size: 21px; display: block; min-width: 0px; padding-block-start: 0px; padding-top: 0px; perspective-origin: 407px 10.5px; transform-origin: 407px 10.5px; vertical-align: baseline; \"\u003e\u003cdiv style=\"font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 10.5px; text-align: left; transform-origin: 384px 10.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 0px 0px; transform-origin: 0px 0px; \"\u003e\u003cspan style=\"\"\u003eFind all four-digit prime numbers whose digits are monotonically decreasing from left-to-right.\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e","function_template":"function y = puzzle_080()\r\n  y = [3111 2111];\r\nend","test_suite":"%%\r\ny=puzzle_080();\r\nassert(isequal(unique(isprime(y)),1))\r\nassert(isequal(length(unique(y)),76))\r\nassert(isequal(sum(y),588390))\r\n","published":true,"deleted":false,"likes_count":0,"comments_count":1,"created_by":180632,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":28,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2021-02-17T20:47:51.000Z","updated_at":"2026-01-30T15:55:08.000Z","published_at":"2021-02-17T20:47:51.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eFind all four-digit prime numbers whose digits are monotonically decreasing from left-to-right.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\",\"relationship\":null}],\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"target\":\"/matlab/document.xml\",\"relationshipId\":\"rId1\"}]}"},{"id":43551,"title":"I told you not separate me, but you did :( - ACDC","description":"Given input vector, output it's DC and AC value\r\n\r\nExample:\r\n\r\ninput = 0 1 -1 0\r\nac = 0 1 -1 0\r\ndc = 0","description_html":"\u003cp\u003eGiven input vector, output it's DC and AC value\u003c/p\u003e\u003cp\u003eExample:\u003c/p\u003e\u003cp\u003einput = 0 1 -1 0\r\nac = 0 1 -1 0\r\ndc = 0\u003c/p\u003e","function_template":"function [ac dc] = acDC(x)\r\n  ac = x;\r\n  dc = x;\r\nend","test_suite":"%%\r\nx = [0 1 -1 0];\r\nac_correct = [0 1 -1 0];\r\ndc_correct = 0;\r\n[ac dc] = acDC(x);\r\nassert(isequal(ac,ac_correct))\r\nassert(isequal(dc,dc_correct))\r\n%%\r\nx = [5 6 4 5];\r\nac_correct = [0 1 -1 0];\r\ndc_correct = 5;\r\n[ac dc] = acDC(x);\r\nassert(isequal(ac,ac_correct))\r\nassert(isequal(dc,dc_correct))\r\n","published":true,"deleted":false,"likes_count":2,"comments_count":1,"created_by":13865,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":63,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2016-10-14T10:20:04.000Z","updated_at":"2026-04-08T12:43:03.000Z","published_at":"2016-10-14T10:20:04.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eGiven input vector, output it's DC and AC value\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eExample:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003einput = 0 1 -1 0 ac = 0 1 -1 0 dc = 0\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":44326,"title":"Replace 0 indices in array with 1's","description":"Take a incoming vector, and replace 0's with ones","description_html":"\u003cp\u003eTake a incoming vector, and replace 0's with ones\u003c/p\u003e","function_template":"function y = your_fcn_name(x)\r\n  y = ...;\r\nend","test_suite":"%%\r\nx = -1:1:3\r\ny_correct = [-1 1 1 2 3];\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":0,"comments_count":1,"created_by":12852,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":143,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2017-09-14T17:22:35.000Z","updated_at":"2026-02-09T17:09:04.000Z","published_at":"2017-09-14T17:22:35.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eTake a incoming vector, and replace 0's with ones\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":45903,"title":"Given A4 sizes find A3's long side","description":"I think you know the relation between A3 and A4 paper so givens are sides of A4\r\nx1=long side of A4\r\ny1=short side of A4\r\ny2 is the long side of A3 \r\nAll dimensions in milimeter","description_html":"\u003cp\u003eI think you know the relation between A3 and A4 paper so givens are sides of A4\r\nx1=long side of A4\r\ny1=short side of A4\r\ny2 is the long side of A3 \r\nAll dimensions in milimeter\u003c/p\u003e","function_template":"function y2 = a3longside(x1,y1)\r\n  y2 = y1;\r\nend","test_suite":"%%\r\nx1 = 210;\r\ny1 = 297;\r\ny2_correct = 420;\r\nassert(isequal(a3longside(x1,y1),y2_correct))\r\n","published":true,"deleted":false,"likes_count":1,"comments_count":1,"created_by":441903,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":99,"test_suite_updated_at":"2020-06-13T12:40:47.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2020-06-13T12:32:34.000Z","updated_at":"2026-04-07T19:04:27.000Z","published_at":"2020-06-13T12:39:52.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eI think you know the relation between A3 and A4 paper so givens are sides of A4 x1=long side of A4 y1=short side of A4 y2 is the long side of A3 All dimensions in milimeter\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":43329,"title":"Solve expression II","description":"Solve given expression.\r\n\r\nalpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1)\r\n\r\nbeta=5exp((-x+y-60)/20)\r\n\r\nresult=alpha+beta;","description_html":"\u003cp\u003eSolve given expression.\u003c/p\u003e\u003cp\u003ealpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1)\u003c/p\u003e\u003cp\u003ebeta=5exp((-x+y-60)/20)\u003c/p\u003e\u003cp\u003eresult=alpha+beta;\u003c/p\u003e","function_template":"function z = your_fcn_name(x,y)\r\n  z = x+y;\r\nend","test_suite":"%%\r\nx = 1;\r\ny = 1;\r\nbeta=5.*exp((-x+y-60)/20);\r\nalpha=0.1.*(-x-y-50)./(exp((-x-y-50)/10)-1);\r\ny_correct = alpha+beta;\r\nassert(isequal(your_fcn_name(x,y),y_correct))\r\n%%\r\nx = 1:10;\r\ny = 1:10;\r\nbeta=5.*exp((-x+y-60)/20);\r\nalpha=0.1.*(-x-y-50)./(exp((-x-y-50)/10)-1);\r\ny_correct = alpha+beta;\r\nassert(isequal(your_fcn_name(x,y),y_correct))","published":true,"deleted":false,"likes_count":3,"comments_count":2,"created_by":90467,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":94,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2016-10-11T09:22:33.000Z","updated_at":"2026-03-31T10:24:37.000Z","published_at":"2016-10-11T09:22:33.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eSolve given expression.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003ealpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1)\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003ebeta=5exp((-x+y-60)/20)\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eresult=alpha+beta;\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":43747,"title":"Find the distance traveled by a car given velocity and time.","description":"A car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and time, to find the distance traveled.","description_html":"\u003cp\u003eA car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and time, to find the distance traveled.\u003c/p\u003e","function_template":"function y = distance(velocity,time)\r\n  D = time;\r\nend","test_suite":"%%\r\nvelocity = 10;\r\ntime = 60; \r\nD_correct = 600;\r\nassert(isequal(distance(velocity,time),D_correct))\r\n","published":true,"deleted":false,"likes_count":1,"comments_count":0,"created_by":100857,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":130,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2016-12-07T20:05:40.000Z","updated_at":"2026-02-10T21:28:41.000Z","published_at":"2016-12-07T20:05:40.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eA car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and time, to find the distance traveled.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":43326,"title":"Solve expression I","description":"Solve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.","description_html":"\u003cp\u003eSolve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.\u003c/p\u003e","function_template":"function y = your_fcn_name(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = [2     -3     4];\r\ny_correct =  (1.+sin(x))./cos(x)+cos(x)/(1.+sin(x));\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n%%\r\nx = 1:3:100;\r\ny_correct =  (1.+sin(x))./cos(x)+cos(x)/(1.+sin(x));\r\nassert(isequal(your_fcn_name(x),y_correct))","published":true,"deleted":false,"likes_count":3,"comments_count":4,"created_by":90467,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":101,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2016-10-11T09:03:10.000Z","updated_at":"2026-03-16T01:33:02.000Z","published_at":"2016-10-11T09:03:10.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eSolve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":2980,"title":"multiply by three","description":"\r\nGiven the variable x as your input, multiply it by 3 and put the result equal to y.\r\n\r\nExamples:\r\n Input  x = 2\r\n Output y is 6\r\n Input  x = 10\r\n Output y is 30\r\n","description_html":"\u003cp\u003eGiven the variable x as your input, multiply it by 3 and put the result equal to y.\u003c/p\u003e\u003cp\u003eExamples:\r\n Input  x = 2\r\n Output y is 6\r\n Input  x = 10\r\n Output y is 30\u003c/p\u003e","function_template":"function y = your_fcn_name(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = 1;\r\ny_correct = 3;\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":9,"comments_count":3,"created_by":33999,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":1014,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2015-02-07T05:00:06.000Z","updated_at":"2026-02-13T06:54:43.000Z","published_at":"2015-02-07T05:00:06.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eGiven the variable x as your input, multiply it by 3 and put the result equal to y.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eExamples: Input x = 2 Output y is 6 Input x = 10 Output y is 30\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":44941,"title":"Find square of given number","description":"Find Square of any number","description_html":"\u003cp\u003eFind Square of any number\u003c/p\u003e","function_template":"function y = square(x)\r\n  y = x+1;\r\nend","test_suite":"%%\r\nx = 1;\r\ny_correct = 1;\r\nassert(isequal(square(x),y_correct))","published":true,"deleted":false,"likes_count":0,"comments_count":0,"created_by":293792,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":112,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2019-08-08T17:00:36.000Z","updated_at":"2026-02-12T19:03:31.000Z","published_at":"2019-08-08T17:00:36.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eFind Square of any number\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":45157,"title":"easy problem","description":"Find the last element of the array","description_html":"\u003cp\u003eFind the last element of the array\u003c/p\u003e","function_template":"function y = your_fcn_name(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = [1 2 3 4 5];\r\ny_correct = 5;\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":2,"comments_count":0,"created_by":343758,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":242,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2019-10-07T17:34:43.000Z","updated_at":"2026-03-04T00:32:12.000Z","published_at":"2019-10-07T17:34:42.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eFind the last element of the array\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":1050,"title":"Basics: 'Find the eigenvalues of given matrix","description":"Find the eigenvalues y for a given matrix x.","description_html":"\u003cp\u003eFind the eigenvalues y for a given matrix x.\u003c/p\u003e","function_template":"function y = harish_eigen(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = [1 2;3 4];\r\ny_correct = eig(x);\r\nassert(isequal(harish_eigen(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":1,"comments_count":3,"created_by":6975,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":438,"test_suite_updated_at":"2012-11-23T08:58:14.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2012-11-23T08:52:15.000Z","updated_at":"2026-02-11T14:33:34.000Z","published_at":"2012-11-23T08:52:15.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eFind the eigenvalues y for a given matrix x.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":47643,"title":"Find the sum to n terms of an arithmetic progression of the type 2n+1.","description":null,"description_html":"\u003cdiv style = \"text-align: start; line-height: 20.4333px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, monospace; font-style: normal; font-size: 14px; font-weight: 400; text-decoration: rgb(0, 0, 0); white-space: normal; \"\u003e\u003cdiv style=\"block-size: 51px; display: block; min-width: 0px; padding-block-start: 0px; padding-top: 0px; perspective-origin: 407.5px 25.5px; transform-origin: 407.5px 25.5px; vertical-align: baseline; \"\u003e\u003cdiv style=\"block-size: 21px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384.5px 10.5px; text-align: left; transform-origin: 384.5px 10.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 199.875px 7.66667px; transform-origin: 199.875px 7.66667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eExample: Sum the first 20 terms of the sequence: 1, 3, 5, 7, 9, ...\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 21px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384.5px 10.5px; text-align: left; transform-origin: 384.5px 10.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 30.1583px 7.66667px; transform-origin: 30.1583px 7.66667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eS20=400.\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e","function_template":"function y = your_fcn_name(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = [1 3 5 7 9];\r\ny_correct = 25;\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n\r\nx = [1 3 5 7];\r\ny_correct = 16;\r\nassert(isequal(your_fcn_name(x),y_correct))","published":true,"deleted":false,"likes_count":0,"comments_count":1,"created_by":727868,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":47,"test_suite_updated_at":"2020-11-29T09:03:09.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2020-11-28T13:32:28.000Z","updated_at":"2026-02-08T17:50:50.000Z","published_at":"2020-11-28T13:32:28.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eExample: Sum the first 20 terms of the sequence: 1, 3, 5, 7, 9, ...\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eS20=400.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\",\"relationship\":null}],\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"target\":\"/matlab/document.xml\",\"relationshipId\":\"rId1\"}]}"},{"id":47194,"title":"Summation of integers","description":null,"description_html":"\u003cdiv style = \"text-align: start; line-height: 20.44px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, monospace; font-style: normal; font-size: 14px; font-weight: 400; text-decoration: none solid rgb(0, 0, 0); white-space: normal; \"\u003e\u003cdiv style=\"block-size: 80.4px; display: block; min-width: 0px; padding-block-start: 0px; padding-top: 0px; perspective-origin: 407px 40.2px; transform-origin: 407px 40.2px; vertical-align: baseline; \"\u003e\u003cdiv style=\"block-size: 20.8px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 10.4px; text-align: left; transform-origin: 384px 10.4px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 0px 0px; transform-origin: 0px 0px; \"\u003e\u003cspan style=\"\"\u003eAdd connsecutive numbers up to givven number x.\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 20.8px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 10.4px; text-align: left; transform-origin: 384px 10.4px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 0px 0px; transform-origin: 0px 0px; \"\u003e\u003cspan style=\"\"\u003eex: x=5\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 20.8px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 10.4px; text-align: left; transform-origin: 384px 10.4px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 0px 0px; transform-origin: 0px 0px; \"\u003e\u003cspan style=\"\"\u003ey=1+2+3+4+5\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e","function_template":"function y = your_fcn_name(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = 3;\r\ny_correct = 6;\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":0,"comments_count":0,"created_by":681629,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":121,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2020-11-03T03:14:21.000Z","updated_at":"2026-02-12T19:05:45.000Z","published_at":"2020-11-03T03:14:21.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eAdd connsecutive numbers up to givven number x.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eex: x=5\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003ey=1+2+3+4+5\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\",\"relationship\":null}],\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"target\":\"/matlab/document.xml\",\"relationshipId\":\"rId1\"}]}"},{"id":43479,"title":"Modulation index","description":"The amplitude of the carrier signal is 2V and the amplitude of the modulating signal is 8V. Find its modulation index.","description_html":"\u003cp\u003eThe amplitude of the carrier signal is 2V and the amplitude of the modulating signal is 8V. Find its modulation index.\u003c/p\u003e","function_template":"function z = your_fcn_name(x,y)\r\n  z = ;\r\nend","test_suite":"%%\r\nx = 8; y=2;\r\nz_correct = 4;\r\nassert(isequal(your_fcn_name(x,y),z_correct))\r\n","published":true,"deleted":false,"likes_count":3,"comments_count":1,"created_by":87885,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":89,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2016-10-11T22:34:12.000Z","updated_at":"2026-02-06T15:38:09.000Z","published_at":"2016-10-11T22:34:12.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eThe amplitude of the carrier signal is 2V and the amplitude of the modulating signal is 8V. Find its modulation index.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":2353,"title":"Sum of the Matrix Elements","description":"Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns.\r\n\r\nExample : \r\n\r\nx=  [ 8     1     6]\r\n     \r\n \r\nThe total sum of the elements will be 8+1+6= 15.\r\n","description_html":"\u003cp\u003eAdd up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns.\u003c/p\u003e\u003cp\u003eExample :\u003c/p\u003e\u003cp\u003ex=  [ 8     1     6]\u003c/p\u003e\u003cp\u003eThe total sum of the elements will be 8+1+6= 15.\u003c/p\u003e","function_template":"function y = your_fcn_name(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = [1];\r\ny_correct = 1;\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":6,"comments_count":2,"created_by":27280,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":601,"test_suite_updated_at":"2014-06-08T12:50:40.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2014-06-08T12:46:47.000Z","updated_at":"2026-02-05T19:39:47.000Z","published_at":"2014-06-08T12:50:40.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eAdd up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eExample :\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003ex= [ 8 1 6]\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eThe total sum of the elements will be 8+1+6= 15.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":1924,"title":"Create a two dimensional zero matrix","description":"You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros.\r\n\r\nExample:\r\n\r\nIf input is m=2 and n=3 then\r\n  \r\n A = [ 0 0 0\r\n       0 0 0 ]\r\n","description_html":"\u003cp\u003eYou have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros.\u003c/p\u003e\u003cp\u003eExample:\u003c/p\u003e\u003cp\u003eIf input is m=2 and n=3 then\u003c/p\u003e\u003cpre\u003e A = [ 0 0 0\r\n       0 0 0 ]\u003c/pre\u003e","function_template":"function y = zero_matrix(m,n)\r\n\r\nend","test_suite":"%%\r\nm = 2;n=3;\r\ny_correct = [0 0 0;0 0 0]\r\nassert(isequal(zero_matrix(m,n),y_correct))","published":true,"deleted":false,"likes_count":3,"comments_count":0,"created_by":18256,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":525,"test_suite_updated_at":"2013-10-08T18:58:49.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2013-10-08T18:25:50.000Z","updated_at":"2026-02-08T06:16:27.000Z","published_at":"2013-10-08T18:25:50.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eYou have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eExample:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eIf input is m=2 and n=3 then\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"code\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c![CDATA[ A = [ 0 0 0\\n       0 0 0 ]]]\u003e\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":1797,"title":"03 - Matrix Variables 1","description":"Make the following variable:\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_3a.png\u003e\u003e\r\n\r\nA 9x9 matrix full of 2's\r\n\r\n(Hint: use *ones* or *zeros*)\r\n","description_html":"\u003cp\u003eMake the following variable:\u003c/p\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_3a.png\"\u003e\u003cp\u003eA 9x9 matrix full of 2's\u003c/p\u003e\u003cp\u003e(Hint: use \u003cb\u003eones\u003c/b\u003e or \u003cb\u003ezeros\u003c/b\u003e)\u003c/p\u003e","function_template":"function aMat = MatrixFunc()\r\n  *Insert code here\r\nend","test_suite":"%%\r\nref = ones(9,9)*2;\r\nuser = MatrixFunc();\r\nassert(isequal(user,ref))","published":true,"deleted":false,"likes_count":5,"comments_count":2,"created_by":15468,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":715,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2013-08-13T13:48:16.000Z","updated_at":"2026-02-24T03:00:51.000Z","published_at":"2013-08-13T13:48:16.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/media/image1.png\"}],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eMake the following variable:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId1\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eA 9x9 matrix full of 2's\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e(Hint: use\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:rPr\u003e\u003cw:b/\u003e\u003c/w:rPr\u003e\u003cw:t\u003eones\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e or\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:rPr\u003e\u003cw:b/\u003e\u003c/w:rPr\u003e\u003cw:t\u003ezeros\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e)\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"},{\"partUri\":\"/media/image1.png\",\"contentType\":\"image/png\",\"content\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAABsCAIAAABFKa9dAAAJEUlEQVR42u2dfVAU5x3Hd09y1guWTpSKaZWgYmgw2sHgWyGQNkEd6NBo1RhItGgril5iQ6MtUkXjnDA1TISLM2RMGIKACKViJYDBBhHkxSiIDvEAvSnIy3mclTtO4O423d1TvIV7I5zC4vf7Hwc8N8+zn9/b87bE9xBkIgJDAAEICEBAAAICEBCAgAAEBCAgAAEBCAeq46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baNDbRUFL4TUO7I4/mwkM4fOqa3wIQAAJAAAgAASAABIAAEAACQAAIAAEgAASAABAAAkAACAABIMaYcHGpFeHiUgghA0AACAABIAAEgHAYENqrRUnvBkxj9neRczfFpl/v4jE/6uZiSVSAkNmWNmnx6thTVQoAMSwgzLynyjPQxvtPxzANx0PmOpv2xUm0PLuhB0DYW3b2qwrC5wVK8hvZykt5NjmMhYOnL4PvzBD7hW7PYfcn6ltrkld6Olt/f9jTWHZaBUJ/48SueM6bvkfzbqgRqu/OySgx583ENnfbAojB8aK+pHTQ23zZQeQlEOrm8xWNnOhgPDkNIIYRMsyMEQMET0PGYBmBQMgYCRDMAeXpdpxo4EkQyVoxxSelstsi/QDClkld3xe0VMLJKvgr7UXpm69HcrIKADEsIOgRfGtzYp1hXHS8WyYNCrJRPwMIa8GipVLyzg5r9sQj9avKotd9WK20MZ0CIKyk6FlicXqbw+ajzJav9n84wlxSdvT9XYWyHtsZNICwZE97xClc76q92XSbn7FDWXBwdy53dlIjb+rQAQj7gKBpiNmWUM9Zv9C3VB05nCnnJw07U8oVgzoYtzfXbOUJIMx416Rwb3tuouFFWTF0XYaVxWkVAGE20puRA6/Be2KydN+SFbgBBPTUA4ENMlaE/RAQgAAQAAJAAAgAASAABID4YUCIhhTnHn7mR2F8a1hDQcBcIAABAQgIQEAAAgIQEICAAAQEIKDR0P8BRk256latLskAAAAASUVORK5CYII=\"}]}"},{"id":1792,"title":"02 - Vector Variables 2","description":"Make the following variable:\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_2b.png\u003e\u003e","description_html":"\u003cp\u003eMake the following variable:\u003c/p\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_2b.png\"\u003e","function_template":"function bVec = VectorFunc()\r\n  *Insert code here\r\nend","test_suite":"%%\r\nbVec = [2.71;8;28;182];\r\nb = VectorFunc();\r\nassert(isequal(b,bVec))","published":true,"deleted":false,"likes_count":2,"comments_count":0,"created_by":15468,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":719,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2013-08-13T13:30:23.000Z","updated_at":"2026-02-24T03:00:14.000Z","published_at":"2013-08-13T13:30:23.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/media/image1.png\"}],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eMake the following variable:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId1\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"},{\"partUri\":\"/media/image1.png\",\"contentType\":\"image/png\",\"content\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAACHCAIAAABVrBYZAAAK/klEQVR42u2deVwTZxrHZwJSYUVckQr1qCKiC4Ks/SC61QIqaFetblWwCH76oXbFUrO4orYeW6uyqNWmGpCux0crl1dXyxaKoFVRRCx1VxGQI8oKcokgRM4kw05mkpCZScIMGZGF5/nPmTBO3u+8z/HO83uDdID1AkNgCAADGGAADGCAATCA9SsMVelCCxSh2dgZokqsR29D0ZYeYGdKuw2BYM65otb+gsErJEXWG2+tYPvsBYBBY833LopXeg7HH08UdfxoW1zeMwMfLxN/MAZhGIpOOXyrUfMhqSQt6oAo3M/JbUlsAwYYusbQfCcxeISAMqbjvUTlev6gLmfHGBOUicFm4taidtVn6nP2Ba2JjAj1NEMQwMAKQ3tdSuAkr8ikYoXyX7XpUSsIJLbhsaW6Pv4idcf7G2MLFPT54bBoa6ZCFzDAwAaDvPD0pj0pFdSBno4g5sxhJaziXwlXpdRhbXt6ap41xSMBBq4YmnMvX6uQMYdPHwZdIE8F2ml5JMDAT6ZEDJ8+p6QzYjvoZAYYjMGg9+nWafo8EmAwCgMmz9vuOz2SEi26mDr2ln6Xq2WAgUcMzVnRy1eJ7irYXlsZz/UNNGDoHgZ52a3IoLVJUtaLHJg8e+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BJ8UDYOBa8dIfdl4UD4CBo+n6nQbjFQ+AgZvhz/6f5oQwN7M3UvEAGLhYY1G0ry/9J8j4UDwABtbWXnc93H+jJhRrZbTGKx4AA9vIXBQTtim1iF6U8aR4AAysrDYl4rPvqYXxi9KSKhlfigfAwIrBusOZNTQH9eUX3+NDz5PiATB0lRoxfyiUME3TIi+KB8Bg0PS9aqX6HOMVD7BVei8w2Cq9lxg4JcAAGAADYAAMgAEwAAbAABgAA2AADIABMAAGwAAYAANgAAyAoW9hkErSog6Iwv2cdL5P1tI6IEPsl3wVl01tHevUOqCo40fb4vKeyQADxdi8favP2Re0JjKCGGgmBkLr8Ia6RbX5bsqmt6yGabUk6XhxPd6L3l7GtP719o39S1Bm9xFhyo0qqA1IlCPtdSmBk7wik4oJKrXpUSsIJHp3PAIM3cFAa6nXYFC3B8gLT2/aQ2nIIPcXMe9ScgLvojnPBpTS/FIm/sBhlqqzuDn38jVa6ypThAKxwXgMqsZIU4u3Cc+jdDtuM77I1R+Eiet07ZQAAzcMuOcpuxXx1mDc5Vva23uEfpNpUE6ibK20Y9XMChi4YejQ7NRNJKxBzOZirViSt913Orv2PcDADQPuiFb6+p8orbm109/ZIInmrOjlq9i21wMGDhjkpWnrRppoFFcqrZWuygD3XZFBa5NYK+AAA8eEVbt7lXA7duTuXdQq75RQGMdF8AMYWGMgO+apTcRkZUDJhdrrrm8VHqbOj+aHJU8UgIEnp6TUGVKffeURbTA4gy2f7KWmsPKy7IP7E0thNnDFoIwBIwTMNSVVtjpOVSsQa0qDLdTlm1KYJQ50ZrPPGWDoAgNT0ECFIS//JTHczwnRscJKOigdxkL5Axh6hQEGwAAYAANgAAyAATC8egwWDHGtelvZnjNFW3qAnSntNgSCOf0Fw/+dAQbAAAYYAAMYYAAMYIChV9v/AN5zhsi3siidAAAAAElFTkSuQmCC\"}]}"},{"id":1790,"title":"01 - Scalar variables","description":"Create the following variables:\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_1.png\u003e\u003e","description_html":"\u003cp\u003eCreate the following variables:\u003c/p\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_1.png\"\u003e","function_template":"function [a b c] = ScalarVars()\r\n  \r\n  * Insert code here!\r\n\r\nend","test_suite":"%%\r\na = 10;\r\nb = 2.5*10^23;\r\nc = exp(2*pi/3);\r\n[au bu cu] = ScalarVars;\r\nassert(isequal(a,au));\r\nassert(isequal(b,bu));\r\nassert(isequal(c,cu));","published":true,"deleted":false,"likes_count":0,"comments_count":0,"created_by":15468,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":742,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2013-08-13T12:49:29.000Z","updated_at":"2026-02-24T02:52:41.000Z","published_at":"2013-08-13T12:49:29.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/media/image1.png\"}],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eCreate the following variables:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId1\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"},{\"partUri\":\"/media/image1.png\",\"contentType\":\"image/png\",\"content\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAABMCAIAAAAwSsjdAAAI0UlEQVR42u1cK5qzMBRlReyBFbABNBqLxSHjcCgUCoXCoGIwGAwCg4mIiImI6J8X5TmddtppO/1zxHwdSlvIyX3k3kOsk8HbwzJDYEgyMCQZkgwMSQb/IUl0yGJQj2z3ButhAeIoDKO0aKgh6UVgbQlsSyCGePNWFTn8uO2HoSdP8TNiSHoySF8Fih8J0KxIIm0iicmlfZHUFf+F1fhpJI1NHnie63pxDh/pKxijlE0vf/41feZbHugphcDdkcSq0FkeRFWkOKOfRBJpU2sBN2keETz6NHT1N9qOy+3AARsnRSkhdAN+5BKZbeLtSCKJ+B13doGoEqQ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kc1kRPxIFayEXeLnjtQgrEv4977J7jbPJklpHCbFEw/UQbzSpJ1GmO+FQiCOM7jrDSql0SQqVgoFFzQqFKXNgMahjDyVOAjhjiCDApFKDFg/Wj3w0JPMhkwS1y3kHjpIJHzum+wT9Vy1kO4uew+5+UmX01AywkLtHGnzId706ES6xnpfKyapTK7tBApPJiXa0cKn0UJ0bG0egvnfFL7L3oUv2FvIietL5wwNX4XuhEJlM2xcj5b7zIqpANT9Fe5pVjbT3LPcfatbNAbpW20m8IIdURxwKfuA8RdCoWhjxEru49cDwvhHg4qERLvGp/fHc0lqkqXPZAgmSUW2FZ0jpVDXj9sCj9rcKTjnzn0R+3F9PVmUR7+i+RPbbzyVJC2/4nGkqMosUknbTx2/Vmx7cVbXZew7Sjj/R/c8eauKA4NpsNTr3OVsEFzsY+wmVX/6ULziITJKfhhFDl0oecFWRaZ2Z2BIMiQZGJIMSQaGJANDkiHJwJBkYEgyJBkYkgw4/gEGZWErSWAwJQAAAABJRU5ErkJggg==\"}]}"},{"id":44629,"title":"Find parts of a circle.","description":"Given radius (r) of a circle find the diameter (d), circumference (c), an area (a).","description_html":"\u003cp\u003eGiven radius (r) of a circle find the diameter (d), circumference (c), an area (a).\u003c/p\u003e","function_template":"function [d,c,a] = CIRCLE(r)\r\n  d =;\r\n  c =;\r\n  a =;\r\nend\r\n","test_suite":"%%\r\nr = 7;\r\nd_correct = 14;\r\nc_correct = 43.9823;\r\na_correct = 153.9380;\r\nassert(isequal(CIRCLE(r),d_correct))\r\n","published":true,"deleted":false,"likes_count":1,"comments_count":1,"created_by":212188,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":79,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2018-05-02T13:14:59.000Z","updated_at":"2026-02-06T15:52:08.000Z","published_at":"2018-05-02T13:14:59.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eGiven radius (r) of a circle find the diameter (d), circumference (c), an area (a).\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":44086,"title":"Percentage profit","description":"If you are buying at x dollar, what will be the selling price for making the r% profit?","description_html":"\u003cp\u003eIf you are buying at x dollar, what will be the selling price for making the r% profit?\u003c/p\u003e","function_template":"function y = your_fcn_name(x,r)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = 100;\r\nr=20;\r\ny_correct = 120;\r\nassert(isequal(your_fcn_name(x,r),y_correct))\r\n\r\n%%\r\nx = 200;\r\nr=20;\r\ny_correct = 240;\r\nassert(isequal(your_fcn_name(x,r),y_correct))\r\n\r\n","published":true,"deleted":false,"likes_count":1,"comments_count":0,"created_by":123486,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":77,"test_suite_updated_at":"2017-03-21T13:59:58.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2017-03-21T13:56:01.000Z","updated_at":"2026-02-06T18:28:07.000Z","published_at":"2017-03-21T13:56:01.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eIf you are buying at x dollar, what will be the selling price for making the r% profit?\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":43106,"title":"Second smallest number","description":"What is the second smallest number in x?\r\n\r\nexample:\r\n x = [1 2 3 4 5 6 7 8 9]\r\n y = 2","description_html":"\u003cp\u003eWhat is the second smallest number in x?\u003c/p\u003e\u003cp\u003eexample:\r\n x = [1 2 3 4 5 6 7 8 9]\r\n y = 2\u003c/p\u003e","function_template":"function y = secondSmallest(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = [1 2 3 4 5 6 7 8 9];\r\ny_correct = 2;\r\nassert(isequal(secondSmallest(x),y_correct))\r\n%%\r\nx = [2 3 4 5 6 7 8 9];\r\ny_correct = 3;\r\nassert(isequal(secondSmallest(x),y_correct))\r\n%%\r\nx = [1 3 4 5 6 7 8 9];\r\ny_correct = 3;\r\nassert(isequal(secondSmallest(x),y_correct))\r\n%%\r\nx = [5 6 7 8 9];\r\ny_correct = 6;\r\nassert(isequal(secondSmallest(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":0,"comments_count":0,"created_by":94929,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":80,"test_suite_updated_at":"2016-10-19T11:39:25.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2016-10-06T07:42:54.000Z","updated_at":"2026-02-13T18:54:34.000Z","published_at":"2016-10-06T07:42:54.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eWhat is the second smallest number in x?\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eexample: x = [1 2 3 4 5 6 7 8 9] y = 2\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":48015,"title":"Calculate the volume of the football","description":null,"description_html":"\u003cdiv style = \"text-align: start; line-height: 20.44px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, monospace; font-style: normal; font-size: 14px; font-weight: 400; text-decoration: none solid rgb(0, 0, 0); white-space: normal; \"\u003e\u003cdiv style=\"block-size: 63.9631px; display: block; min-width: 0px; padding-block-start: 0px; padding-top: 0px; perspective-origin: 406.989px 31.9744px; transform-origin: 406.996px 31.9815px; vertical-align: baseline; \"\u003e\u003cdiv style=\"block-size: 20.9091px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 383.991px 10.4545px; text-align: left; transform-origin: 383.999px 10.4545px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 0px 0px; transform-origin: 0px 0px; \"\u003e\u003cspan style=\"\"\u003eCalculate the volume of a football given the ball radius r, using the formula below:\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 34.0625px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 383.991px 17.0312px; text-align: left; transform-origin: 383.999px 17.0312px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"vertical-align:-15px\"\u003e\u003cimg src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAABECAYAAAAhtL9RAAALwklEQVR4Xu2dBawtSRGGvwWCExyCQ7KLW3B3lg0Q3N0luLs7u7i7u0OCE4JLcELw4O7ukm+p2vQdzrkz55yZc2bmdScvb9+90z091f9U//VX9exB1FYtMGELHDThudepVwtQAVxBMGkLVABPevnq5CuAKwYmbYEK4EkvX518BXDFwKQtUAE86eXrNPlTAs8DfgrcA/hLp14TuagCeCILteY0jwHcH3hUgLgCeE1D1m67scDVgVcAJ6gA3s0C1Luub4GzAY8DjgUcVgG8viFrz+1b4HjAE4C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czxjmcDxo3gWJqnBW4tgCnh2p8YrgMcDuj5mYiZRZceakawmy3FNapjk+b+PRPdx412NUQG8K8sPe1/X1c98WTrq9+zy439m5cxCeoBgFq0CeBbLuO9DlMXpXpgnKWbx5BXAs1jG1ofIz3/5majBShtbZzHABRXAAxh1hEOWxeXlUa0RTnW1KVUAr2avKV+d30ibVTq5AnjKkOw+9/xAiacjZlXQUwHcHQRTvjI/UOL//Nua6N4+LLJro1QA73oFNr+/x6kMzE4fXzG3gL8svleFsFDfGu3ygObmdx7BCBXAI1iEDafgdzY85SJALVz38wSewPCYu+qDNRCeKvY0jIX/s2oVwNNfTtdQecwDAp50sd7arJunMjxXaB3Etr5ft3VrVgBv3eT1hn1aoAK4T2vWsbZugQrgrZu83rBPC1QA92nNOtbWLVABvHWT1xv2aYEK4D6tWcfaugUqgLdu8nrDPi1QAdynNetYW7fAfwEifqJjO+S6ggAAAABJRU5ErkJggg==\" width=\"88\" height=\"34\" style=\"width: 88px; height: 34px;\"\u003e\u003c/span\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e","function_template":"function y = calcVolume(r)\r\n\r\n    y = r;\r\nend","test_suite":"%%\r\nr = 2;\r\ny_correct = 33.5103;\r\nassert(abs(calcVolume(r) - y_correct) \u003c 0.1)\r\n","published":true,"deleted":false,"likes_count":0,"comments_count":0,"created_by":808745,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":63,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2020-12-17T14:17:48.000Z","updated_at":"2026-04-05T10:34:30.000Z","published_at":"2020-12-17T14:17:48.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eCalculate the volume of a football given the ball radius r, using the formula below:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"equation\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"displayStyle\\\" w:val=\\\"true\\\"/\u003e\u003c/w:customXmlPr\u003e\u003cw:r\u003e\u003cw:t\u003eV_{sphere} = \\\\frac43 \\\\pi r^3\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\",\"relationship\":null}],\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"target\":\"/matlab/document.xml\",\"relationshipId\":\"rId1\"}]}"},{"id":42516,"title":"Calculate Simple Intrest for given data","description":"P,N,R stands for Principle amount, No. of years and rate of intrest resp. Calculate intrest I","description_html":"\u003cp\u003eP,N,R stands for Principle amount, No. of years and rate of intrest resp. Calculate intrest I\u003c/p\u003e","function_template":"function I = SI(p,n,r)\r\n  I = p*n*r;\r\nend","test_suite":"%%\r\np = 1000;\r\nn=2;\r\nr=8;\r\ny_correct = 160;\r\nassert(isequal(SI(p,n,r),y_correct))\r\n","published":true,"deleted":false,"likes_count":0,"comments_count":0,"created_by":46868,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":83,"test_suite_updated_at":"2015-08-19T12:44:01.000Z","rescore_all_solutions":true,"group_id":1,"created_at":"2015-08-19T12:37:41.000Z","updated_at":"2026-02-16T11:49:15.000Z","published_at":"2015-08-19T12:38:45.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eP,N,R stands for Principle amount, No. of years and rate of intrest resp. Calculate intrest I\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":43045,"title":"Display negative numbers","description":"Given array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].","description_html":"\u003cp\u003eGiven array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].\u003c/p\u003e","function_template":"function y = myFunc(x)\r\n  y = x;\r\nend","test_suite":"1\t\r\n%%\r\nx = [1 2 -3 4 -5 6 -7 8 -9 10];\r\ny_correct = [-3 -5 -7 -9];\r\nassert(isequal(myFunc(x),y_correct))","published":true,"deleted":false,"likes_count":8,"comments_count":0,"created_by":91311,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":111,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2016-10-05T11:04:23.000Z","updated_at":"2026-02-13T18:45:35.000Z","published_at":"2016-10-05T11:04:23.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eGiven array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":43567,"title":"i forgot to use capital I","description":"When referring to yourself you should write \"I\" (capital) and not \"i\".\r\nSo correct the input string x, but be aware that other uses of the letter \"i\" should still be in lower case.\r\n\r\nexample:\r\n\r\n x = 'Have i forgot it'\r\n y = 'Have I forgot it'","description_html":"\u003cp\u003eWhen referring to yourself you should write \"I\" (capital) and not \"i\".\r\nSo correct the input string x, but be aware that other uses of the letter \"i\" should still be in lower case.\u003c/p\u003e\u003cp\u003eexample:\u003c/p\u003e\u003cpre\u003e x = 'Have i forgot it'\r\n y = 'Have I forgot it'\u003c/pre\u003e","function_template":"function y = correctIt(x)\r\n  y = x;\r\nend","test_suite":"%%\r\n x = 'Have i forgot it'\r\n y = 'Have I forgot it'\r\nassert(isequal(correctIt(x),y))\r\n%%\r\n x = 'i like it'\r\n y = 'I like it'\r\nassert(isequal(correctIt(x),y))\r\n","published":true,"deleted":false,"likes_count":0,"comments_count":1,"created_by":94929,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":63,"test_suite_updated_at":"2016-10-19T11:30:25.000Z","rescore_all_solutions":true,"group_id":1,"created_at":"2016-10-17T09:57:40.000Z","updated_at":"2026-02-10T08:54:27.000Z","published_at":"2016-10-17T09:57:40.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eWhen referring to yourself you should write \\\"I\\\" (capital) and not \\\"i\\\". So correct the input string x, but be aware that other uses of the letter \\\"i\\\" should still be in lower case.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eexample:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"code\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c![CDATA[ x = 'Have i forgot it'\\n y = 'Have I forgot it']]\u003e\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":2929,"title":"Volume of a box","description":"Given a box with a length a, width b, and height c. Solve the volume of the box.","description_html":"\u003cp\u003eGiven a box with a length a, width b, and height c. Solve the volume of the box.\u003c/p\u003e","function_template":"function y = volume(a,b,c)\r\n  y = x;\r\nend","test_suite":"%%\r\na = 1;\r\nb = 1;\r\nc = 1;\r\ny_correct = 1;\r\nassert(isequal(volume(a,b,c),y_correct))\r\n\r\n%%\r\na = 2;\r\nb = 2;\r\nc = 2;\r\ny_correct = 8;\r\nassert(isequal(volume(a,b,c),y_correct))\r\n\r\n%%\r\na = 3;\r\nb = 3;\r\nc = 3;\r\ny_correct = 27;\r\nassert(isequal(volume(a,b,c),y_correct))\r\n","published":true,"deleted":false,"likes_count":6,"comments_count":0,"created_by":33780,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":724,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2015-02-03T02:21:35.000Z","updated_at":"2026-02-24T02:53:49.000Z","published_at":"2015-02-03T02:21:34.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eGiven a box with a length a, width b, and height c. Solve the volume of the box.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":42736,"title":"Convert from integer to binary","description":"  if true\r\n    % decimalToBinaryVector(x)\r\n  end","description_html":"\u003cpre class=\"language-matlab\"\u003eif true\r\n  % decimalToBinaryVector(x)\r\nend\r\n\u003c/pre\u003e","function_template":"function y = your_fcn_name(x)\r\n  y = decimalToBinaryVector(x);\r\nend","test_suite":"%%\r\nx = 8;\r\ny_correct = [1 0 0 0];\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":2,"comments_count":0,"created_by":63355,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":115,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2016-02-19T00:22:18.000Z","updated_at":"2026-02-12T18:45:10.000Z","published_at":"2016-02-19T00:24:50.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"code\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c![CDATA[if true\\n  % decimalToBinaryVector(x)\\nend]]\u003e\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":1800,"title":"03 - Matrix Variables 4","description":"Make the following variable:\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_3d.png\u003e\u003e\r\n\r\nA 3x4 NaN (Not a Number) matrix \r\n\r\n(Hint: use *nan*)","description_html":"\u003cp\u003eMake the following variable:\u003c/p\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_3d.png\"\u003e\u003cp\u003eA 3x4 NaN (Not a Number) matrix\u003c/p\u003e\u003cp\u003e(Hint: use \u003cb\u003enan\u003c/b\u003e)\u003c/p\u003e","function_template":"function dMat = MatrixFunc()\r\n  *Insert code here\r\nend","test_suite":"%%\r\nrefSize = 12;\r\nuserAns = MatrixFunc();\r\nuser = sum(sum(isnan(userAns)));\r\nassert(isequal(refSize,user))","published":true,"deleted":false,"likes_count":3,"comments_count":0,"created_by":15468,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":644,"test_suite_updated_at":"2013-08-13T14:05:21.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2013-08-13T14:01:32.000Z","updated_at":"2026-02-07T10:34:53.000Z","published_at":"2013-08-13T14:01:32.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/media/image1.png\"}],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eMake the following variable:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId1\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eA 3x4 NaN (Not a Number) matrix\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e(Hint: use\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:rPr\u003e\u003cw:b/\u003e\u003c/w:rPr\u003e\u003cw:t\u003enan\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e)\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"},{\"partUri\":\"/media/image1.png\",\"contentType\":\"image/png\",\"content\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUcAAABrCAIAAABrMtfFAAAPOElEQVR42u2de1wU5RrHZ1dchSQQRdEjiIIKGlIaaBZe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VhQkB3morHet31gQcVcaQ62NGevdPJksLW7jNA87arB38fpgS9S1Gmogqjox04VZeyuKrh9Y+9FUZ+W2MyES953hF0jb87Zk55un9P5Utdy6OPn8ml5phG6ZSdoRc13Awr8a/tVPsLMlL81Oio2JPZ+cQ8+19QVp8acSMh/R2x5sx+OcQlVHplyq6qfUVxVm67aw1Pa8Ldj5MiHSTmltio3QA6+FfzX8q/l1A+BfbQrg+9WgTQNVAwBVQ9UAQNVQNQBQNVQNAFQNVQMAVUPVAKqGqgGAqqFqAKBqqBoAqBqqBgCqpsj42sNuUGANnj5om1Tu8XZ8afoRzNUAYK6GqgGAqqFqAKBqqBoAqBqqBgCq1gf8q4UOxQn4VzeYiH91q4Pzzhb8qwUOxQ34VxsY6pnc2eKsavhXCxyK26QH/2oDQ0HVLeQE/KsFDsUJ+FcbHAqqbiGd4V/NP5TBwL/a8ISBqvUXNvCvboB/NZ+i2mQSBqrWC/yreYUSSBnwrxYgYaBqfYUN/Kv5hBIK+FcLkTBQtf7GL/yr4V/Na9PBZBIGqm4e+FfzCCUc8K8WJGGgar09ZPhXw7+a16aD6SQMVK23hwz/avhX89p0MJ2Egaqbe0bwr4Z/NS9Rm1jCQNVNgH81/Kv59CZN0L8aqm4C/KvhX82vG2ByCYNzywBoa+D71QBA1VA1AFA1VA0AVA1VAwBVQ9UAPOuqpg+p06HpSwsAtAbKI/1cG2czYfnMqRqAZxOoGgCoGgAAVQMAoGoAAFQNAICqAYCqAQBQNQDgafB/b1ASSH1eI4AAAAAASUVORK5CYII=\"}]}"},{"id":44033,"title":"row removal","description":"Remove the nth row from input matrix M and return the resulting matrix in output N.\r\n","description_html":"\u003cp\u003eRemove the nth row from input matrix M and return the resulting matrix in output N.\u003c/p\u003e","function_template":"function N = row_removal(M,n)\r\n  N = ...;\r\nend","test_suite":"%%\r\nM= [1 2 3; 4 5 6];\r\nn = 2;\r\nN_correct = [1 2 3];\r\nassert(isequal(row_removal(M,n),N_correct))","published":true,"deleted":false,"likes_count":0,"comments_count":0,"created_by":110067,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":128,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2017-01-22T20:05:17.000Z","updated_at":"2026-03-18T23:48:03.000Z","published_at":"2017-01-24T20:41:17.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eRemove the nth row from input matrix M and return the resulting matrix in output N.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":46063,"title":"Area of a pentagon","description":"Given the side of a regular pentagon and its apothem return the area of pentagon.\r\n\r\nRemember the area of pentagon is calculate as the product between perimeter and the apothem divided by 2. ","description_html":"\u003cp\u003eGiven the side of a regular pentagon and its apothem return the area of pentagon.\u003c/p\u003e\u003cp\u003eRemember the area of pentagon is calculate as the product between perimeter and the apothem divided by 2.\u003c/p\u003e","function_template":"function area = pentagon_Area(s,A)\r\n  area=s^2;\r\nend","test_suite":"%%\r\ns = 8;\r\nA = 9;\r\narea_correct = 180;\r\nassert(isequal(pentagon_Area(s,A),area_correct))\r\n\r\n%%\r\ns=pi;\r\nA=9;\r\narea_correct=(45/2)*pi;\r\nassert(isequal(pentagon_Area(s,A),area_correct))","published":true,"deleted":false,"likes_count":1,"comments_count":0,"created_by":426918,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":84,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2020-07-27T22:20:36.000Z","updated_at":"2026-02-10T13:53:36.000Z","published_at":"2020-07-27T22:21:26.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eGiven the side of a regular pentagon and its apothem return the area of pentagon.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eRemember the area of pentagon is calculate as the product between perimeter and the apothem divided by 2.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":42348,"title":"Square a Number","description":"Given an input x, return y, which is equal to the square of x.","description_html":"\u003cp\u003eGiven an input x, return y, which is equal to the square of x.\u003c/p\u003e","function_template":"function y = square(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = 4;\r\ny_correct = 16;\r\nassert(isequal(square(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":3,"comments_count":0,"created_by":44605,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":899,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2015-06-01T01:29:01.000Z","updated_at":"2026-02-15T15:05:29.000Z","published_at":"2015-06-01T01:29:01.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eGiven an input x, return y, which is equal to the square of x.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":43634,"title":"Find product of eigenvalues of n*n magic matrix.","description":"Find product of eigenvalues of n*n magic matrix.\r\n\r\nExample \r\n\r\nn=3\r\n\r\nMatrix= [ 8     1     6;\r\n     3     5     7;\r\n     4     9     2]\r\n\r\nresult=-360","description_html":"\u003cp\u003eFind product of eigenvalues of n*n magic matrix.\u003c/p\u003e\u003cp\u003eExample\u003c/p\u003e\u003cp\u003en=3\u003c/p\u003e\u003cp\u003eMatrix= [ 8     1     6;\r\n     3     5     7;\r\n     4     9     2]\u003c/p\u003e\u003cp\u003eresult=-360\u003c/p\u003e","function_template":"function y = ProdEigMag(n)\r\n  y = n;\r\nend","test_suite":"%%\r\nn = 3;\r\ny_correct = -360;\r\nassert(abs(ProdEigMag(n)-y_correct)\u003c10^(-4))\r\n%%\r\nn = 6;\r\ny_correct = -9.0175e-08;\r\nassert(abs(ProdEigMag(n)-y_correct)\u003c10^(-4))","published":true,"deleted":false,"likes_count":0,"comments_count":1,"created_by":90467,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":72,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2016-10-25T22:15:36.000Z","updated_at":"2026-02-17T08:32:43.000Z","published_at":"2016-10-25T22:15:36.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eFind product of eigenvalues of n*n magic matrix.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eExample\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003en=3\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eMatrix= [ 8 1 6; 3 5 7; 4 9 2]\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eresult=-360\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":1807,"title":"04 - Scalar Equations 2","description":"Define the variables a and b:\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_4-a.png\u003e\u003e\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_4-b.png\u003e\u003e\r\n \r\nUse these to calculate y:\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_4b.png\u003e\u003e\r\n\r\nHint: remember that:\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_4b2.png\u003e\u003e","description_html":"\u003cp\u003eDefine the variables a and b:\u003c/p\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_4-a.png\"\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_4-b.png\"\u003e\u003cp\u003eUse these to calculate y:\u003c/p\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_4b.png\"\u003e\u003cp\u003eHint: remember that:\u003c/p\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_4b2.png\"\u003e","function_template":"function [y a b] = MyFunc()\r\n  *Insert code here\r\nend","test_suite":"%%\r\na=10;\r\nb=2.5e23;\r\nref = (sqrt(a)+b^(1/21))^pi;\r\nuser = MyFunc();\r\nassert(isequal(user,ref))\r\n\r\n%%\r\n[y a b] = MyFunc();\r\nassert(a==10);\r\n\r\n\r\n%%\r\n[y a b] = MyFunc();\r\nassert(b==2.5e23);","published":true,"deleted":false,"likes_count":3,"comments_count":0,"created_by":15468,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":540,"test_suite_updated_at":"2013-08-14T08:44:04.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2013-08-14T08:40:54.000Z","updated_at":"2026-02-10T14:06:46.000Z","published_at":"2013-08-14T08:42:07.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/media/image1.png\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/media/image2.png\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId3\",\"target\":\"/media/image3.png\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId4\",\"target\":\"/media/image4.png\"}],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eDefine the variables a and b:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId1\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId2\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eUse these to calculate y:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId3\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eHint: remember that:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId4\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"},{\"partUri\":\"/media/image1.png\",\"contentType\":\"image/png\",\"content\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD8AAAAcCAIAAABZBfAQAAACYUlEQVR42mP4P5QBw6jrR10/6nr6gG+Xds2ZOLHGU02+ZPEDLLI72z1VeRgYGFi4rOsWnPz8bxC5/suO1pSyvo44e3EGBgkM1387tzxJlse6fdPtv///f7671EdNKrx2Py4PDFTK+bKjyRLT9b/ebYvWEPCvOfoXJvLuTJMSr/uq618Hv+v/3FwRw85oNOvEJ7jQvz8nc/WFkP0zaF3/eHKkgqhGza1f/wkJEuf635/v7Fg+e9LkBfuuPLp5dNXsBYff/6WV68HBzI/hUJBKRtQIIcb1X6/tbLJTNctsXrB5+9KiAF0xPmaD4MUf0TPQn48v7t/BB+6/+fKHGNf/fL3CXZgJwwpyXP/l7LJUWXa99q1PwEb9PDXVm4GBP7H/MkbuB8UsAz4gga1YJM31OAzB7vq/z093mopw2SWt+/iXcABQK+VQJ+z//jieZyrEzOa2+sZ3aIr8d6vdR4pbPOPM57+0cz1V0v2f2+uTeRmZrBLXf4GFwadr/XocjNgSPTXTPVXKnOezElSQzf3379GsRE0GBtG8uXewhSLV0j2kvOfmDtv78jfZ5f31eidRRgbF9m1vIGXm3Z1lGkJs4Lh7/+zy+Wc//tG4rpVO6r8Id+unW1PN+HHmNwYcYSkQ13nm178PF7Y0RqdUJtuKsPFGzt/YEpe95h11Uv7LZXmG2KLlz4NdhfB2zq/3J5vDTUlq50AKHBZwpIt6Zy578uNWu7cEAwOXTfSCJ1QIeEio40lalLYx/315eXnPjp1Hzj8DJ8B/nx6f2Xv09rd//wcbGO2djLp+1PWjrh91PbEAAGxZ5hGMqyTlAAAAAElFTkSuQmCC\"},{\"partUri\":\"/media/image2.png\",\"contentType\":\"image/png\",\"content\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAdCAIAAAD0A9/iAAAFh0lEQVR42mP4PwpoBhhGg2A0cEcDd/iCz3c3JNmLMzAwCCiFLT3xCijy6/3J5nBtsEjsjltfRwOXbPB4SkzAjKOvfr07XOAgoerQ/+TXi+WF8UCRz3eX+qjx2GZs+z0auOSBf3/u7t59+y+I+efmihg+gfQzX+7ARN4vy9MkNnB/f3l0fP+OdUsnVRf1nX39mxYOXTc525iPCZyhgruXnPz8j4CWd2eaFJgZGWCAkVGrfdszsiz/dmnXnIkTazzV5EsWP8B02KqWcGmQuxiUrHPWn3yFzQRQ4BoGL/74D15cLA20SySyWPj78uL6rgo/USYGAYXSaz+pHrK3JsdoM6AA4aT+i3/xafqyo8kSWYOoRs2tX2RY/mVHa0pZX0ccqOiUQAtciMOUrIsP3gYG07dzy5NkmLFGIbB8iFh1HRKUIGXAyGDhsm7fdPsvkcUCOKUw2Wds/UHlsP3zYFehvg3EA4gKgZUrbO9LnFnk5+sV3to5p95QKw9BogotcEHpkZ3RaNaJTzCRl8vyDDFiEej+9sYl1/9ixAouL2AG7s+TU32YMOKWKtXC9Nxq5GD69+dkrj4/I4qvMLNhQkDNUdxJ+8vxxRN33PyMTer3o6Oz5+548o9w4D6eHKmAFpTgFIai7NOteSWN+zELMaBKRRaXNbd+EBO493uDZJlYXFff/EGzagHFV3gCFxL64EIwY8LE5VffYqSOf682NbtJKidsRw/f3w+PtpiKalcsuvabUOACM4e7MJMBUkmKKfj57oq8vCXPfkPZ1RNOwDzyZmuTqxqw/fCbiGLh14f1vqJMkvpN937/eXNnz5wpE6cv2PXo0x8aNXGAgYunWMCoytSyJxxFTztYwhdXyGIPXLAtnP6o+QMSr5Dk/OvdtmgNXrgzgA7e/fQYJNaBdYZvxlwssY4tcP89P1AqwcTqUbJqx+RoZWktPSVBBgYmNbuWax9Rwvfvz3cP7uAFd198/0dM4Kr448v14Ph+f3r+pBpPVR5I+JYtvv4XX/rFE7JYAxdU4LIxYg9c/PUBqT00iN38Vp4BqXU73vz49/fnhWpnLNUrWprCBMQ4C2iIkU395bdEuv7N7inRwNoZe2sBHL5yukW7j01zksQVsgMauP/+XqqyFQGGjGX08ndQq0CNZAYG3oT+K9Qugq82eoXAmjVEAlAljquM/vfvweQoFQYGnqDaw79IaC3QK3B/PF/kwMfEzOa2+sZ35GKRgUGuccMLqobtm22thbOOviJVG2YljlrOavgGWWKr38gMXHLb1FgCF2INq2PGlq//4JXmOj9JNi7RpOPvqFjmfju3ogqtwUhZ4P77cHsOpDT4BS4fpNRyTrz8RWQ7F9ww4EYLXKxNCEoC982yPB1GRoPJh97BnXKo34uFUSKl/9xvvPU4KWUusClenTvhImoyeXb3/lciA1eJF83kfx/uLA3UMkCUs6Dw9dS2q7/w+hdxnQii2rkUBS4kIyD1ev+9vzbFRpTXJnrBkx//qFQa/Hl8oq8QvSkOLCJa9xNVtAHLXBvU7jJGyBIIX+w9NGDXUY7HHakC+HZ8qq8kZWUCSuB+vNShzsKoaNP/HOTzf19e7ClwUqRqyP6HDNBhJnOk3AfyFTt0aAaUoIA99/IJ24Gtd2AfZHGhs3XYgme/kWvg6x1+NtjbBqDw9fHO3/H1H3qVyICl/wkSh40t/HlyeoqXmgG5w0PYAvfrow2pjoq8Uj5di5ZMa023UDHLn7D/DfVCFt7dwgDIXkUO3G8Xt5VDxs8YGDjNg6sWbscyPvL350+caf7fr5+//uEaAEILYuThOmCHcN72238p9jIDWsVw7dieHTt27Np35vlnGvXKRhAYHSwfDdzRwB0Fo4E7GrijgTsKRgN3wAAAigWzJcd+7ysAAAAASUVORK5CYII=\"},{\"partUri\":\"/media/image3.png\",\"contentType\":\"image/png\",\"content\":\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+aloG2MXuOgl5ai/teIpQ4kcA2RtP6XVqW51JV1d0wbndIxcxk10pK4zIa0nsUfVYtOhq2h6vd+8etJPY+DPXjl0Nrtp+6C3ECkuXsZyUX9TzAvnD9/vri42OhDIAUqlWqckLd+etOeuIqZXnn2C/qH6TflvbyQJRDkhfYTeqRzJkHTHL2mUKy6IYNhAy2Mzi7lhW6OzWgaGc7fOp84f/kj9T+F5ger8pKivzzG+SYht+QmjNEL4Mjs4uJiWJPRtgMp+Pn5mZOW/caQTz/+JBs0VI2yMHgxxWw/m0UA7TsTSatDw0MO35c80lcU9QJEBKmhstJpisFgMJnMqKgoQMHV1RX9ggBIgcvlGmVcLtsdXOnoEV0/MD6x22b72czbg54sgfA8fe9ludYwIL9BICzEPiPP/BxhyAgOhzOdFDQ1kZ40CFrGLZAaUrfm5BYiwXw/m7EXDGRpTuFXhzX68aTt6MYFNpRtgtvjVqcw8SqltrZ2KinopQWhLKVPXRv/MyLzqTojLyhLE9eDg/POpAYENZ686pcitlDNPeZkHRERAVbm7u4O6sKcFGBhThAJtb7xu/el5ejJuTl+p7qsdcwyi+xKZixCNR1tV/4eW/14ohpqqmqWWZ0CeHgajQZAhIaG2tnZmUhBYtQOQFtyJJLfOXChPDXq6OkbFjGDgSyqHTwYT5L5fyaGHSjpUlmdgqFlTKSrkRQM0nowyUwOkQSI6PRRfKncMulqaAfkgNgyDWqIBIuxfymAVy5F/oOKMASdTge/aioFHaLo6+zolioQ1IuZprLCykaxBQdHWCHt7OgaVGhQLwvaSgRlbRILFZwOwURBLBaDE5S/v7/uWQwE6cb63lEkEj0V/yzMIMYk+fh/U7N4B41TwCngFHAKOIX/QfwLcT+gnQlJtB0AAAAASUVORK5CYII=\"}]}"},{"id":44005,"title":"Probability of red tulips","description":"I hope to give you bulbs of tulip. But I do not know the color of those petals. I just know that the color is red, white or yellow.\r\n\r\nInput (x): Number of bulbs\r\n\r\nOutput (y): Probability that ALL are RED tulips\r\n","description_html":"\u003cp\u003eI hope to give you bulbs of tulip. But I do not know the color of those petals. I just know that the color is red, white or yellow.\u003c/p\u003e\u003cp\u003eInput (x): Number of bulbs\u003c/p\u003e\u003cp\u003eOutput (y): Probability that ALL are RED tulips\u003c/p\u003e","function_template":"function y = red_tulip(x)\r\n  y = 1/3;\r\nend","test_suite":"%%\r\nx = 1;\r\ny_correct = 1/3;\r\nassert(isequal(red_tulip(x),y_correct))\r\n\r\n%%\r\nx = 3;\r\ny_correct = (1/3)^3;\r\nassert(isequal(red_tulip(x),y_correct))\r\n\r\n%%\r\nx = 10;\r\ny_correct = (1/3)^10;\r\nassert(isequal(red_tulip(x),y_correct))","published":true,"deleted":false,"likes_count":0,"comments_count":1,"created_by":102298,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":80,"test_suite_updated_at":"2017-07-07T16:39:42.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2017-01-16T07:35:21.000Z","updated_at":"2025-12-16T06:35:21.000Z","published_at":"2017-07-07T16:39:42.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eI hope to give you bulbs of tulip. But I do not know the color of those petals. I just know that the color is red, white or yellow.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eInput (x): Number of bulbs\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eOutput (y): Probability that ALL are RED tulips\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":43115,"title":"Annoying population","description":"Every year the number of annoying persons in the office triples\r\nFound the population, given a(0) and t","description_html":"\u003cp\u003eEvery year the number of annoying persons in the office triples\r\nFound the population, given a(0) and t\u003c/p\u003e","function_template":"function y = findAnnoyingPopulation(x,y)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = 4;\r\ny = 3;\r\ny_correct = 108;\r\nassert(isequal(findAnnoyingPopulation(x,y),y_correct))\r\n%%\r\nx = 6;\r\ny = 2;\r\ny_correct = 54;\r\nassert(isequal(findAnnoyingPopulation(x,y),y_correct))\r\n%%\r\nx = 7;\r\ny = 5;\r\ny_correct = 1701;\r\nassert(isequal(findAnnoyingPopulation(x,y),y_correct))","published":true,"deleted":false,"likes_count":8,"comments_count":1,"created_by":13865,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":87,"test_suite_updated_at":"2016-10-29T17:03:44.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2016-10-06T08:51:48.000Z","updated_at":"2026-03-02T14:07:14.000Z","published_at":"2016-10-06T08:51:48.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eEvery year the number of annoying persons in the office triples Found the population, given a(0) and t\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":1926,"title":"Unit Matrix","description":"Given n, you should return an n-by-n unit matrix.\r\nExample:\r\nIf input is n=2 then\r\n A = [ 1 0 \r\n       0 1 ]\r\nIf input is n=4 then\r\n A = [ 1 0 0 0\r\n       0 1 0 0\r\n       0 0 1 0 \r\n       0 0 0 1 ]","description_html":"\u003cdiv style = \"text-align: start; line-height: 20.4333px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, monospace; font-style: normal; font-size: 14px; font-weight: 400; text-decoration: rgb(0, 0, 0); white-space: normal; \"\u003e\u003cdiv style=\"block-size: 254.6px; display: block; min-width: 0px; padding-block-start: 0px; padding-top: 0px; perspective-origin: 407px 127.3px; transform-origin: 407px 127.3px; vertical-align: baseline; \"\u003e\u003cdiv style=\"block-size: 21px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 10.5px; text-align: left; transform-origin: 384px 10.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 152.5px 8px; transform-origin: 152.5px 8px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eGiven n, you should return an n-by-n unit matrix.\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 21px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 10.5px; text-align: left; transform-origin: 384px 10.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 28.5px 8px; transform-origin: 28.5px 8px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eExample:\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 21px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 10.5px; text-align: left; transform-origin: 384px 10.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 58px 8px; transform-origin: 58px 8px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eIf input is n=2 then\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"background-color: rgb(247, 247, 247); block-size: 40.8667px; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-end-end-radius: 4px; border-end-start-radius: 4px; border-start-end-radius: 4px; border-start-start-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; margin-block-end: 10px; margin-block-start: 10px; margin-bottom: 10px; margin-inline-end: 3px; margin-inline-start: 3px; margin-left: 3px; margin-right: 3px; margin-top: 10px; perspective-origin: 404px 20.4333px; transform-origin: 404px 20.4333px; margin-left: 3px; margin-top: 10px; margin-bottom: 10px; margin-right: 3px; \"\u003e\u003cdiv style=\"background-color: rgba(0, 0, 0, 0); block-size: 20.4333px; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-end-end-radius: 0px; border-end-start-radius: 0px; border-inline-end-color: rgb(233, 233, 233); border-inline-end-style: solid; border-inline-end-width: 1px; border-inline-start-color: rgb(233, 233, 233); border-inline-start-style: solid; border-inline-start-width: 1px; border-left-color: rgb(233, 233, 233); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(233, 233, 233); border-right-style: solid; border-right-width: 1px; border-start-end-radius: 0px; border-start-start-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; min-block-size: 18px; min-height: 18px; padding-inline-start: 4px; padding-left: 4px; perspective-origin: 404px 10.2167px; transform-origin: 404px 10.2167px; white-space: nowrap; \"\u003e\u003cspan style=\"block-size: auto; border-inline-end-color: rgb(0, 0, 0); border-inline-end-style: none; border-inline-end-width: 0px; border-inline-start-color: rgb(0, 0, 0); border-inline-start-style: none; border-inline-start-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; display: inline; margin-inline-end: 45px; margin-right: 45px; min-block-size: 0px; min-height: 0px; padding-inline-start: 0px; padding-left: 0px; perspective-origin: 44px 8.5px; tab-size: 4; transform-origin: 44px 8.5px; unicode-bidi: normal; white-space: pre; margin-right: 45px; \"\u003e\u003cspan style=\"margin-inline-end: 0px; margin-right: 0px; \"\u003e A = [ 1 0 \u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"background-color: rgba(0, 0, 0, 0); block-size: 20.4333px; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-end-end-radius: 0px; border-end-start-radius: 0px; border-inline-end-color: rgb(233, 233, 233); border-inline-end-style: solid; border-inline-end-width: 1px; border-inline-start-color: rgb(233, 233, 233); border-inline-start-style: solid; border-inline-start-width: 1px; border-left-color: rgb(233, 233, 233); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(233, 233, 233); border-right-style: solid; border-right-width: 1px; border-start-end-radius: 0px; border-start-start-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; min-block-size: 18px; min-height: 18px; padding-inline-start: 4px; padding-left: 4px; perspective-origin: 404px 10.2167px; transform-origin: 404px 10.2167px; white-space: nowrap; \"\u003e\u003cspan style=\"block-size: auto; border-inline-end-color: rgb(0, 0, 0); border-inline-end-style: none; border-inline-end-width: 0px; border-inline-start-color: rgb(0, 0, 0); border-inline-start-style: none; border-inline-start-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; display: inline; margin-inline-end: 45px; margin-right: 45px; min-block-size: 0px; min-height: 0px; padding-inline-start: 0px; padding-left: 0px; perspective-origin: 48px 8.5px; tab-size: 4; transform-origin: 48px 8.5px; unicode-bidi: normal; white-space: pre; margin-right: 45px; \"\u003e\u003cspan style=\"margin-inline-end: 0px; margin-right: 0px; \"\u003e       0 1 ]\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 21px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 10px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 10px; perspective-origin: 384px 10.5px; text-align: left; transform-origin: 384px 10.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 10px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 58px 8px; transform-origin: 58px 8px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eIf input is n=4 then\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"background-color: rgb(247, 247, 247); block-size: 81.7333px; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-end-end-radius: 4px; border-end-start-radius: 4px; border-start-end-radius: 4px; border-start-start-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; margin-block-end: 10px; margin-block-start: 10px; margin-bottom: 10px; margin-inline-end: 3px; margin-inline-start: 3px; margin-left: 3px; margin-right: 3px; margin-top: 10px; perspective-origin: 404px 40.8667px; transform-origin: 404px 40.8667px; margin-left: 3px; margin-top: 10px; margin-bottom: 10px; margin-right: 3px; \"\u003e\u003cdiv style=\"background-color: rgba(0, 0, 0, 0); block-size: 20.4333px; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-end-end-radius: 0px; border-end-start-radius: 0px; border-inline-end-color: rgb(233, 233, 233); border-inline-end-style: solid; border-inline-end-width: 1px; border-inline-start-color: rgb(233, 233, 233); border-inline-start-style: solid; border-inline-start-width: 1px; border-left-color: rgb(233, 233, 233); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(233, 233, 233); border-right-style: solid; border-right-width: 1px; border-start-end-radius: 0px; border-start-start-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; min-block-size: 18px; min-height: 18px; padding-inline-start: 4px; padding-left: 4px; perspective-origin: 404px 10.2167px; transform-origin: 404px 10.2167px; white-space: nowrap; \"\u003e\u003cspan style=\"block-size: auto; border-inline-end-color: rgb(0, 0, 0); border-inline-end-style: none; border-inline-end-width: 0px; border-inline-start-color: rgb(0, 0, 0); border-inline-start-style: none; border-inline-start-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; display: inline; margin-inline-end: 45px; margin-right: 45px; min-block-size: 0px; min-height: 0px; padding-inline-start: 0px; padding-left: 0px; perspective-origin: 56px 8.5px; tab-size: 4; transform-origin: 56px 8.5px; unicode-bidi: normal; white-space: pre; margin-right: 45px; \"\u003e\u003cspan style=\"margin-inline-end: 0px; margin-right: 0px; \"\u003e A = [ 1 0 0 0\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"background-color: rgba(0, 0, 0, 0); block-size: 20.4333px; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-end-end-radius: 0px; border-end-start-radius: 0px; border-inline-end-color: rgb(233, 233, 233); border-inline-end-style: solid; border-inline-end-width: 1px; border-inline-start-color: rgb(233, 233, 233); border-inline-start-style: solid; border-inline-start-width: 1px; border-left-color: rgb(233, 233, 233); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(233, 233, 233); border-right-style: solid; border-right-width: 1px; border-start-end-radius: 0px; border-start-start-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; min-block-size: 18px; min-height: 18px; padding-inline-start: 4px; padding-left: 4px; perspective-origin: 404px 10.2167px; transform-origin: 404px 10.2167px; white-space: nowrap; \"\u003e\u003cspan style=\"block-size: auto; border-inline-end-color: rgb(0, 0, 0); border-inline-end-style: none; border-inline-end-width: 0px; border-inline-start-color: rgb(0, 0, 0); border-inline-start-style: none; border-inline-start-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; display: inline; margin-inline-end: 45px; margin-right: 45px; min-block-size: 0px; min-height: 0px; padding-inline-start: 0px; padding-left: 0px; perspective-origin: 56px 8.5px; tab-size: 4; transform-origin: 56px 8.5px; unicode-bidi: normal; white-space: pre; margin-right: 45px; \"\u003e\u003cspan style=\"margin-inline-end: 0px; margin-right: 0px; \"\u003e       0 1 0 0\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"background-color: rgba(0, 0, 0, 0); block-size: 20.4333px; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-end-end-radius: 0px; border-end-start-radius: 0px; border-inline-end-color: rgb(233, 233, 233); border-inline-end-style: solid; border-inline-end-width: 1px; border-inline-start-color: rgb(233, 233, 233); border-inline-start-style: solid; border-inline-start-width: 1px; border-left-color: rgb(233, 233, 233); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(233, 233, 233); border-right-style: solid; border-right-width: 1px; border-start-end-radius: 0px; border-start-start-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; min-block-size: 18px; min-height: 18px; padding-inline-start: 4px; padding-left: 4px; perspective-origin: 404px 10.2167px; transform-origin: 404px 10.2167px; white-space: nowrap; \"\u003e\u003cspan style=\"block-size: auto; border-inline-end-color: rgb(0, 0, 0); border-inline-end-style: none; border-inline-end-width: 0px; border-inline-start-color: rgb(0, 0, 0); border-inline-start-style: none; border-inline-start-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; display: inline; margin-inline-end: 45px; margin-right: 45px; min-block-size: 0px; min-height: 0px; padding-inline-start: 0px; padding-left: 0px; perspective-origin: 60px 8.5px; tab-size: 4; transform-origin: 60px 8.5px; unicode-bidi: normal; white-space: pre; margin-right: 45px; \"\u003e\u003cspan style=\"margin-inline-end: 0px; margin-right: 0px; \"\u003e       0 0 1 0 \u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"background-color: rgba(0, 0, 0, 0); block-size: 20.4333px; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-end-end-radius: 0px; border-end-start-radius: 0px; border-inline-end-color: rgb(233, 233, 233); border-inline-end-style: solid; border-inline-end-width: 1px; border-inline-start-color: rgb(233, 233, 233); border-inline-start-style: solid; border-inline-start-width: 1px; border-left-color: rgb(233, 233, 233); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(233, 233, 233); border-right-style: solid; border-right-width: 1px; border-start-end-radius: 0px; border-start-start-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; min-block-size: 18px; min-height: 18px; padding-inline-start: 4px; padding-left: 4px; perspective-origin: 404px 10.2167px; transform-origin: 404px 10.2167px; white-space: nowrap; \"\u003e\u003cspan style=\"block-size: auto; border-inline-end-color: rgb(0, 0, 0); border-inline-end-style: none; border-inline-end-width: 0px; border-inline-start-color: rgb(0, 0, 0); border-inline-start-style: none; border-inline-start-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; display: inline; margin-inline-end: 45px; margin-right: 45px; min-block-size: 0px; min-height: 0px; padding-inline-start: 0px; padding-left: 0px; perspective-origin: 64px 8.5px; tab-size: 4; transform-origin: 64px 8.5px; unicode-bidi: normal; white-space: pre; margin-right: 45px; \"\u003e\u003cspan style=\"margin-inline-end: 0px; margin-right: 0px; \"\u003e       0 0 0 1 ]\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e","function_template":"function y = your_fcn_name(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = 2;\r\ny_correct = [1 0;0 1];\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n\r\n%%\r\nx = 3;\r\ny_correct = [1 0 0;0 1 0; 0 0 1];\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":1,"comments_count":0,"created_by":18257,"edited_by":223089,"edited_at":"2022-10-31T04:49:45.000Z","deleted_by":null,"deleted_at":null,"solvers_count":512,"test_suite_updated_at":"2022-10-31T04:49:45.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2013-10-09T18:48:08.000Z","updated_at":"2026-02-09T16:23:54.000Z","published_at":"2013-10-09T18:48:08.000Z","restored_at":null,"restored_by":null,"spam":null,"simulink":false,"admin_reviewed":false,"description_opc":"{\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eGiven n, you should return an n-by-n unit matrix.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eExample:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eIf input is n=2 then\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"code\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c![CDATA[ A = [ 1 0 \\n       0 1 ]]]\u003e\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eIf input is n=4 then\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"code\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c![CDATA[ A = [ 1 0 0 0\\n       0 1 0 0\\n       0 0 1 0 \\n       0 0 0 1 ]]]\u003e\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\",\"relationship\":null}],\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"target\":\"/matlab/document.xml\",\"relationshipId\":\"rId1\"}]}"},{"id":2971,"title":"square a vector-Given the variable x as your input, square it and put the result in y.","description":"function y = (x)squared\r\n \r\n y = x;\r\nend","description_html":"\u003cp\u003efunction y = (x)squared\u003c/p\u003e\u003cpre\u003e y = x;\r\nend\u003c/pre\u003e","function_template":"function y = (x)squared\r\n  y = x;\r\nend","test_suite":"%%\r\nx = 1;\r\ny_correct = 1;\r\nassert(isequal((x)^2,y_correct))\r\n","published":true,"deleted":false,"likes_count":0,"comments_count":1,"created_by":33779,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":112,"test_suite_updated_at":"2015-02-07T00:41:05.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2015-02-07T00:34:32.000Z","updated_at":"2026-02-19T14:25:21.000Z","published_at":"2015-02-07T00:36:37.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003efunction y = (x)squared\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"code\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c![CDATA[ y = x;\\nend]]\u003e\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":43174,"title":"Change string to number","description":"Change given string to number. (hint: there is already function)\r\n\r\nChanging from ['1234'] to [1234] is one of example","description_html":"\u003cp\u003eChange given string to number. (hint: there is already function)\u003c/p\u003e\u003cp\u003eChanging from ['1234'] to [1234] is one of example\u003c/p\u003e","function_template":"function y = your_fcn_name(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = '1';\r\ny_correct = 1;\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":5,"comments_count":0,"created_by":33533,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":229,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2016-10-07T18:22:17.000Z","updated_at":"2026-04-05T19:38:24.000Z","published_at":"2016-10-07T18:22:17.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eChange given string to number. (hint: there is already function)\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eChanging from ['1234'] to [1234] is one of example\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":1793,"title":"02 - Vector Variables 3","description":"Make the following variable:\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_2c.png\u003e\u003e\r\n\r\n(all the numbers from 5 to -5 in increments of -0.2)","description_html":"\u003cp\u003eMake the following variable:\u003c/p\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_2c.png\"\u003e\u003cp\u003e(all the numbers from 5 to -5 in increments of -0.2)\u003c/p\u003e","function_template":"function cVec = VectorFunc()\r\n  *Insert code here\r\nend","test_suite":"%%\r\ncVec = 5:-.2:-5;\r\nc = VectorFunc();\r\nassert(isequal(c,cVec))\r\n","published":true,"deleted":false,"likes_count":3,"comments_count":0,"created_by":15468,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":673,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2013-08-13T13:32:53.000Z","updated_at":"2026-03-01T17:36:51.000Z","published_at":"2013-08-13T13:32:53.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/media/image1.png\"}],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eMake the following variable:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId1\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e(all the numbers from 5 to -5 in increments of -0.2)\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"},{\"partUri\":\"/media/image1.png\",\"contentType\":\"image/png\",\"content\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARsAAAAoCAIAAABB1snBAAAI/0lEQVR42u2ce1hT5x3Hz4kERtRCYQ60zTObWVQYLeKUWVCohTilaFt4vBTqGLMaFAQn6rNa1ha7hd6MSJmdfSwq0Dil+hQHBJhDqyh4q6g1ysWy4rjEgGACkoQcdk5OkuZGch44Byz8vv8RTs55z/v7fd7f5X0BGQCBQPQJgSkAgYAoEAiIAoGAKBAIBESBQEAUCAREPW7qvJwxfQLKnvzr6D8IEhP/dPgbGRgYNHxpus8LkxMTE+PD/T0RxHXF21Xjiih2REq5CrwARL+w1tPbvFnjjijihbVgfRCTDgZEgUBAFK1EkSUW8qO80/KaaM4J+r97l891xHPv9bLstaFe5CB4wUknasZJsdd7ISdq6qy369T2LlI0lgs3hTrrJseJE/yXgzUKbCQHqZRkLDBxEoTNWXmqXcMoUfKS3atnuE3QPc49KFJgUv3LS/euX/isB4KwpvnF5I5GV2Bwoixnaooj0w7NY5xR+xGy96o4gTsp9LMqmY7AxrwtYRzOkqPSnjHP08O6nPluLPvTrmgseNln2qr0Sh1FvbUlO+a6/TxBVDtiGQfWX5P8vJuJm1hak6EYpfdO9+nbbqls/MrFI6b4bt9jFaNU949E+iVdlGuY9hhrG1gZzMP0AutPxmZFT0TvqY4WMsJ5zC+w/oRR9d85Eh8uKLITFRkiCmsuFriiiMsTCdUPzTxB0y2JneG19oPLmlGy3CBEETP1CpNei3vMe8tW7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W6fky/O5lVY1yOs/Uwt9HgRgV/H0UCAREAVEgIAqIAgFRY5UoVmD0gbY+DMwPolu91w7HTUbHE1HKxuPbNiYaBP+vD0SPDP+vj9Smj4/dHi9EgUCjLiAKBAKiQCAgCgQCokAgEBAFAgFRIBAQBQKBLPV/b3ejuUFbY/oAAAAASUVORK5CYII=\"}]}"},{"id":44308,"title":"Component area","description":"Find the area of the component below, all measurements are in mm\r\n\r\n\u003c\u003chttps://image.ibb.co/hocruF/Component.png\u003e\u003e","description_html":"\u003cp\u003eFind the area of the component below, all measurements are in mm\u003c/p\u003e\u003cimg src = \"https://image.ibb.co/hocruF/Component.png\"\u003e","function_template":"function A = your_fcn_name(h,w,r)\r\n A = h,w,r;\r\nend","test_suite":"%%\r\nh = 50;\r\nw = 20;\r\nr = 12;\r\nA_correct = (h*w)-((pi*r^2)/2);\r\nassert(isequal(your_fcn_name(h,w,r),A_correct))\r\n","published":true,"deleted":false,"likes_count":2,"comments_count":1,"created_by":137065,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":87,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2017-09-10T12:15:22.000Z","updated_at":"2026-02-16T12:23:27.000Z","published_at":"2017-09-10T12:15:43.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/media/image1.png\"}],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eFind the area of the component below, all measurements are in mm\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId1\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"},{\"partUri\":\"/media/image1.png\",\"contentType\":\"image/png\",\"content\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAe8AAAEECAYAAAABCryMAABJUklEQVR42u19B7RU1fl9mg0bFlCwgjQ7RBIDRBQhaMCoUbErYsOAqKARQUEjaFQUDUYEpS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rbdeSj1nj8F1fvjDH8atJfj1118/2X/iiSeGESNGhGHDhoUJEybkqPzxn7ykLbW5UAqSN/tyjx49csZbvmaP4ZjCOMLCmgtfkPeOO+4Y92H8SW0u8haKGH4l7wmd2+eeey48+uijkah33nnn0LBhw0wJesMNN8whaB6DCcFL2zjGXse+t5/bc/33oTVu3Dhss802UaJ48sknc/4ntQeSvoW6Tt5YSENq3nfffZOxQLLN1+rVq5fz2UYbbRT233//8O233ybjH+PIjkGRt8hbKFKQnGkPo3Pa0qVLw4wZM0LPnj3jAN9iiy1SkwQmjY033jglNXspOUstbiUAa1vzZM59mGC8Wp3H20mGUjm2OKZdu3ahU6dO4YknnghvvPFGWLZsWaVtg4JQrOTNPgytl9doYVzka3582e0JJ5wQTVHQVMFhjdfC9UXeIm+hyOCduDApYABfc8014bTTTgt77rlnihxB2htssEGmtI3XJE8cB0l4k002CZtttlnYfPPNY9tyyy3DeeedF+66664wceLEMH78+Nhuv/32qPbG9o477ghjx46NE8imm24a6tevHxcIWDjgWlmSt5cqshYS+E1t27aNE97KlSv18IU6S94Yr8uXLw9NmzaN53FMrknytloxHmsX4kcccUQc/3JYE3kLtUjCVhVMuzVtvjZcih6laF9++WWYNWtWGDVqVLj00kvDgQceGEmSK24MbGuzZoNNbO+99w577bVXdCb77W9/G6644oqoVkebNm1a+PTTT3PCUqoKno/Jbfr06bE988wz4cILLwwXXXRROP/886NmYPfddw+tW7dO2fSsNMLXmMDwX0855ZS4UIFz3eLFi1MhcPY+2pA6H94mCDVB3j6Mk30OzmZYgFqiBtFiYXzJJZckYzCroZ9j7GD7wAMPRK2UlbDxGuMH5jBcXzZvkbdQC/DOWn5gWXUxwrHgyQ2ixsDnajyfTRoSb/v27cOQIUPCzJkzw9dffx2vk+WNbhcR1st7XeBt1Pgev2Cx9+HNN98M55xzTlSbwzafpW73NvftttsuLghmz56d+m82ztySul9YCEJ1kndW32ZoGBzM0JdJuI0aNYqhl5UhU/Rrm0MBi3b7G6DtsgsDSd4ib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ndrGDc/EcIKV7PwPkbK+M57vIWxAEoYzJu3fv3nEfnLjg+Yzc4ohfplrXepd7QvfpRhFSxqQnpZriE/8J98zHkltTgzUzcH/z5s1jHnPcX6jGGap2xRVXJCFnTNICiMBF3oIgiLwzyRtSYK9evZKwKRIGnKYgAX711VcxzhtkjuP23XffHDsvpe4xY8YkIU4+Q1ipZAzjYgThXNtuu22KoO1ip0ePHuG4444L06ZNi8d+8803YenSpfE+WGc03G+bHhX3cvny5eq4Im9BEETeFUveTFxi030SthgJJGrUxX7jjTdiXPXMmTNjMRAQ+tVXX50qvsFzKpPXvK6BmoWbb7455lxH7nRI1Lgvr7zySpgzZ05K45AlQdvFzLBhw1KLIJY8ld1b5C0IQpnC5ybH+4YNG6ZU36gqxvSgClGqfaCqmA0Xg6Qu8hZ5C4JQxvAlLkEIm2yySUrdi/SoWYQv1A4geVsnQEregshbEARJ4In0zfzkdEBDtjCWp1QpytqHtXlDAmfec6VIFXkLglCmAAlY6Rv21x133DGV4hS5zYlStFEXO4YMGZIkb4Gz25IlS6T9EHkLgiD8V/Jmda/NN988kgVDvCB58xih9gFnN5ttzS6kBJG3IAhlKnl71K9fP5W//De/+U2iNge8nVyoWcDmbRPeMD2qIPIWBKHMpW4CxPz5558nVb6QmGXx4sWSvAsIhN+hqtmnn34aq6ExtEySt8hbEARBEETegiAIgiCIvAVBEARBEHkLgiAIgshbEARBEASRtyAIgiAIIm9BEARBEHkLgiAIgiDyFgRBEARB5C0IgiAIIm9BEARBEETegiAIgiCIvAVBEARB5C0IgiAIgshbEARBEIRqxP8D4/IP1bSEBTgAAAAASUVORK5CYII=\"}]}"},{"id":1817,"title":"07 - Common functions and indexing 2","description":"Define _eMat_:\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_3e.png\u003e\u003e\r\n\r\nCalculate eMean as the mean across the rows of _eMat_. The answer should be a column vector.","description_html":"\u003cp\u003eDefine \u003ci\u003eeMat\u003c/i\u003e:\u003c/p\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_3e.png\"\u003e\u003cp\u003eCalculate eMean as the mean across the rows of \u003ci\u003eeMat\u003c/i\u003e. The answer should be a column vector.\u003c/p\u003e","function_template":"function [eMean eMat] = MyFunc()\r\n  *Insert code here\r\nend","test_suite":"%%\r\neMat = [13 -1 5;-22 10 -87];\r\nRef = mean(eMat,2);\r\nuser = MyFunc();\r\nassert(isequal(Ref,user))\r\n\r\n%%\r\nRef = [13 -1 5;-22 10 -87];\r\n[eMean Mat] = MyFunc();\r\nassert(isequal(Ref,Mat))","published":true,"deleted":false,"likes_count":3,"comments_count":0,"created_by":15468,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":423,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2013-08-14T10:38:19.000Z","updated_at":"2026-02-27T14:10:16.000Z","published_at":"2013-08-14T10:38:19.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/media/image1.png\"}],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eDefine\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:rPr\u003e\u003cw:i/\u003e\u003c/w:rPr\u003e\u003cw:t\u003eeMat\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId1\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eCalculate eMean as the mean across the rows of\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:rPr\u003e\u003cw:i/\u003e\u003c/w:rPr\u003e\u003cw:t\u003eeMat\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e. The answer should be a column vector.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"},{\"partUri\":\"/media/image1.png\",\"contentType\":\"image/png\",\"content\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOUAAABLCAIAAAAAvdffAAALj0lEQVR42u2de1wTVxbHJzFijVpowQIfRQWUWqi6aMVtEbVWQBd3cdH1AWqVtRpfsXat7C5akVbxsRp5bXf56KpVgVLqA8tD+KhQRUV80lILEkkFETAEMREJSYadR0ImT8BMEpDz+0snQO7MfOfcc8499wzSBgL1HCFwCUDAKwgEvIKAV7gEIOAVBAJeQcArXAIQ8AoCAa8g4BUuAQh47UZSSPNCnVmIppjMGenlLXD7ravaPC6boXVnENfJvMdo7+Y1zI1z6wUKfHR/Pecn+vkBr13mtbkk92Bs7JZZHsM3HRPofCqvLj66dKojZgwYDI8VURk1MuufppifmxDL2zTf83dzjzVZ8NkU3Yge0UdtJBkMz5isGuDVkrxKcnas2Lx/F0Gkkw6vckFuTMSBQjHa1tpY9OUCLwTpP52TIbaq+W688a8lq2N2rJ1qgyCW5bUumetNnc0Hj95S3gr21Qr+gCQn+n1dXltF+UknShWq/0qfpAbaM/uy55+vs76NJU2dJXnFTj/Ia911IW3nDrzSzKuYf+teg/r2oPKi9eNsGYzxSdee9T5em68m/nnOlkIF+K/dllctkbyOmsar7gYurIV5Jc8d8wHcfDkHYlNKG2TAazfnFfNlN7q7L8kpf94dztSyvOLnPoSJUCItj7WEWw+8dk9em+9mRUywNSkc7un+K+7QNxYfjtsya9RA05MDwKu5eEXl5fGLvVSWxT54XXqNrJfyqpIwLyEMM7eQH+jO/oAwPyWKMC324by7CtqHjkoe8SuMiV9LPS2r8qq8YiaGnsCreeMtTM/KE31smSbaFUPZokB7JmJYWnk0a/NKDqDj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I4MNt+AEXk3nVV72bcRujTZm5IZE5Rqy9Ml3a7kaVo3Ei8YOGvp4xZMt/TQnVnL+tXA/TV1eVas/NWeT87WMfYcNNYBX03lt/ul8gWYASC7CKXkV83+8orlFluwjZGZecdumU6Wp96D5RFYmUXsS4ubTsE+CXzdno5cFeDXHfhiSV4OtNEhezeoP6LNtbbR0XOu6/8rEQj3CWcJbEPjP4xluXNyBMwC8mpFXI3bC9DZSHfJqwIR3vocSbZei6toOogvBIDe3Scb7FXfmsgCv9OdfMdvGHe//n8J6w7OkvypkfuV5baOWjti5GWk1jv/YgAEd+CqQzzLOq7yptrJL1V7ESyYWrjDcJQqbIgMCaH6dgeV51Vnx0ZZqkQjPlnhP4z2ov0a82skIsvjYOvSRgFfjvJJl5p2v9sKmv/0btxu0na2iS5Fr9vzUQHO40yVe6fBf1SbTkIjB4B27hvZp/zphZrS/jWZmWjOZMKLDBwl4pdMfEPNTudzjhhaLUXn5159GmOPdG4byAzq8WjQ/QMZ8GtXM8tKoAGe9D0wnW20Cr7Tx2irK4ixK0LQczQ8qHqkcg7qUz1ZqrWlJBBW1MjPxav38q7535RlySDrlDACvtPGqb6KXVxXF7Ushb4wwa8fGJM0IDPuV7du+pwUdw+tbQ6j9VmnPS3Qk3JxrWlP9Br6TzgDwSg+vmm+D0X19gJ7qAr07HV7amzTQ2BU/3l4/QLzMdqxl6weUySz3yduIJ1lZP6CbG+l8323g1XReddvBavRYNVTVQYsf2VFjV3XVGKV1sCUlry5O2TTfE9FXn0W9gJ1c7QNeof61Jwl4BV6BV+AVBLwCryDgFXgFXoFXEPBqPl5DnVlaySbNVrUg64jssaIlfW8V6E28gl4lAa8g4BUEAl5BIOAVBLyCQMArCAS8gnqS/g+84HIYNkbRxgAAAABJRU5ErkJggg==\"}]}"},{"id":44271,"title":"0\u003c=x\u003c=pi?","description":"Check whether the given angle is between zero and pi.\r\nReturn logical true or false.","description_html":"\u003cp\u003eCheck whether the given angle is between zero and pi.\r\nReturn logical true or false.\u003c/p\u003e","function_template":"function y = ang(x)\r\n  y = (x==pi/2);\r\nend","test_suite":"%%\r\nx = rand*pi;\r\ny_correct = (200\u003e=100);\r\nassert(isequal(ang(x),y_correct))\r\n%%\r\nx = -rand*pi;\r\ny_correct = (100\u003e=200);\r\nassert(isequal(ang(x),y_correct))\r\n\r\n","published":true,"deleted":false,"likes_count":1,"comments_count":0,"created_by":166,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":140,"test_suite_updated_at":"2017-08-01T23:22:04.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2017-08-01T23:13:05.000Z","updated_at":"2026-02-16T12:15:51.000Z","published_at":"2017-08-01T23:13:38.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eCheck whether the given angle is between zero and pi. Return logical true or false.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"}],"problem_search":{"errors":[],"problems":[{"id":44678,"title":"Calculate time taken by light to reach earth surface","description":"We know the time(seconds) taken by light to reach surface of earth. What if the distance varies yearly or source of light moves from one planet to another? How the time(seconds) varies?\r\n","description_html":"\u003cp\u003eWe know the time(seconds) taken by light to reach surface of earth. What if the distance varies yearly or source of light moves from one planet to another? How the time(seconds) varies?\u003c/p\u003e","function_template":"function y= light_time(x)\r\n  \r\n  y=x;\r\n  \r\nend","test_suite":"%%\r\nx =150000000 ;\r\ny_correct = 500;\r\nassert(isequal(light_time(x),y_correct))\r\n%%\r\nx=1800000;\r\ny_correct = 6;\r\nassert(isequal(light_time(x),y_correct))\r\n%%\r\nx=300000;\r\ny_correct = 1;\r\nassert(isequal(light_time(x),y_correct))\r\n%%\r\nx=57909000;\r\ny_correct = 193;\r\nassert(isequal(light_time(x),y_correct))\r\n%%\r\nx=5790960000;\r\ny_correct = 1.9303e+04;\r\nassert(isequal(light_time(x),y_correct))\r\n\r\n\r\n\r\n\r\n\r\n","published":true,"deleted":false,"likes_count":1,"comments_count":2,"created_by":220577,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":49,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2018-06-07T09:16:16.000Z","updated_at":"2026-03-04T13:43:37.000Z","published_at":"2018-06-07T09:16:22.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eWe know the time(seconds) taken by light to reach surface of earth. What if the distance varies yearly or source of light moves from one planet to another? How the time(seconds) varies?\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":44634,"title":"Basic matrix operations using standard MATLAB commands","description":"Create the matrix:\r\n\r\n 1.0e+15 *\r\n\r\n    0.0000    0.0000    0.0000    0.0000    0.0000\r\n    0.0000    0.0000    0.0000    0.0000    0.0000\r\n    0.0001    0.0010    0.0100    0.1000    1.0000\r\n\r\nFind the row vector of all column means\r\n\r\nHint: Use _logspace_ to create the matrix. Avoid looking at the test suite before writing a solution","description_html":"\u003cp\u003eCreate the matrix:\u003c/p\u003e\u003cpre\u003e 1.0e+15 *\u003c/pre\u003e\u003cpre\u003e    0.0000    0.0000    0.0000    0.0000    0.0000\r\n    0.0000    0.0000    0.0000    0.0000    0.0000\r\n    0.0001    0.0010    0.0100    0.1000    1.0000\u003c/pre\u003e\u003cp\u003eFind the row vector of all column means\u003c/p\u003e\u003cp\u003eHint: Use \u003ci\u003elogspace\u003c/i\u003e to create the matrix. Avoid looking at the test suite before writing a solution\u003c/p\u003e","function_template":"function y = matrix_ls_means()\r\n  y = x;\r\nend","test_suite":"%%\r\ny_correct = mean([logspace(1,5,5);logspace(6,10,5);logspace(11,15,5)]);\r\nassert(isequal(matrix_ls_means(),y_correct))\r\n","published":true,"deleted":false,"likes_count":2,"comments_count":2,"created_by":171559,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":57,"test_suite_updated_at":"2018-05-09T05:37:01.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2018-05-09T05:32:41.000Z","updated_at":"2026-02-17T08:19:25.000Z","published_at":"2018-05-09T05:35:49.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eCreate the matrix:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"code\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c![CDATA[ 1.0e+15 *\\n\\n    0.0000    0.0000    0.0000    0.0000    0.0000\\n    0.0000    0.0000    0.0000    0.0000    0.0000\\n    0.0001    0.0010    0.0100    0.1000    1.0000]]\u003e\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eFind the row vector of all column means\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eHint: Use\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:rPr\u003e\u003cw:i/\u003e\u003c/w:rPr\u003e\u003cw:t\u003elogspace\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e to create the matrix. Avoid looking at the test suite before writing a solution\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":1791,"title":"02 - Vector Variables 1","description":"Make the following variable:\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_2a.png\u003e\u003e","description_html":"\u003cp\u003eMake the following variable:\u003c/p\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_2a.png\"\u003e","function_template":"function aVec = VectorFunc()\r\n  *Insert code here\r\nend","test_suite":"%%\r\naVec = [3.14 15 9 26];\r\na = VectorFunc();\r\nassert(isequal(a,aVec))\r\n","published":true,"deleted":false,"likes_count":2,"comments_count":1,"created_by":15468,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":721,"test_suite_updated_at":"2013-08-27T09:52:03.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2013-08-13T13:23:08.000Z","updated_at":"2026-03-05T09:24:53.000Z","published_at":"2013-08-13T13:23:08.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/media/image1.png\"}],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eMake the following variable:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId1\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"},{\"partUri\":\"/media/image1.png\",\"contentType\":\"image/png\",\"content\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAO4AAAAmCAIAAABMNzCsAAAJSUlEQVR42u2cf1RT5xnH7w0CBYow0KK2FscgKkx+WaWdP6AO8FDkOCezZThLkZYfCsi02qIeJ4UT7SwBgcMsQ1EUPPiD6gYEAlIUVhAEQR0awLGBIBhQCARCkstu7iUhyU1CCLcB4f3+GZJ77/O+n/d5v8/z3gM0CgQ0KwSBIQACKAMBAZSBgADKQEAAZSCA8mumAUbMBxBEWWLrFRQaGrYnCUzz66v2uylhoaHBgd7WJjow7Px9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13m0G+wJcVZD37DJLh2HGSk7+l9lshgKEBZyOt82jagNYOB7gxZEevVSDwzGWU1Q5g0x+oVxJPgOOp4qWzTkFt55lQpFh32+oodTcp4ED/RGGXRxKD1/c64f3FRj/vP4/5BR8M8Fuka/j7tZnLEny+1DyPEFC5d7Y1FwL31GdUQhm2+ynzMx0j9Mesr/6Dz2M8HSk64USADz8jCIbx7/fwOLfxwwRPOz4Qy1kg2tloXcrYAr5TR8n+X58cZHXx590yYRRQXJy2jjD8tAWXRXbCarAB7bAUhTMXI/ph9GutamCt5C0JDcVoubaG+qXIvFbWVfmW141JlNxb7nX1uSwknfxqijPTUx69dMA9/WcU7NKt9mEXzXoQajPX+GbIci5LvrROuljLVnkT8/1bErhFdx8DS1nmllVNwXN5z8c95PbcPfmRFgUwc3f2C/D3f2xjBJIfjUSUH16JXZMQGF50t2vkCuVMoIspEb6MMaNJQlpznSSQF9HiTAWu+RhNDmMpNST1BVBqOkpHkNhQm4Z1yqbVKTl8ZGeh6UMwoLK/Dr4n0t9Uwb9X3DBN5FXbVFynvoAlettX+IzvrB0Z5C1v+1SIh70V9BZPBYBSXN/bxEPIGELyvPPsE3lcGAigDlIEAygBlIIAyQBkIoCwXNgQtjUpv5AMGZoWEPFa8n/UcRHm47npMqFjg/2C81sL/D4ZYx4pZQ3MKZaC5KIAyEEAZCAigDAQEUAYCAigDAZSBgGa+/g+Q+Mcetzv5SwAAAABJRU5ErkJggg==\"}]}"},{"id":47445,"title":"Solve the equation. Find X.","description":null,"description_html":"\u003cdiv style = \"text-align: start; line-height: 20.44px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, monospace; font-style: normal; font-size: 14px; font-weight: 400; text-decoration: none solid rgb(0, 0, 0); white-space: normal; \"\u003e\u003cdiv style=\"block-size: 109.667px; display: block; min-width: 0px; padding-block-start: 0px; padding-top: 0px; perspective-origin: 406.5px 54.8333px; transform-origin: 406.5px 54.8333px; vertical-align: baseline; \"\u003e\u003cdiv style=\"block-size: 20.6667px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 383.5px 10.3333px; text-align: left; transform-origin: 383.5px 10.3333px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 0px 0px; transform-origin: 0px 0px; \"\u003e\u003cspan style=\"\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 20.6667px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 383.5px 10.3333px; text-align: left; transform-origin: 383.5px 10.3333px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 0px 0px; transform-origin: 0px 0px; \"\u003e\u003cspan style=\"\"\u003e% When input A is [3 4 7], the equation is '3X+4=7 '. then, calculate X.\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 20.6667px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 383.5px 10.3333px; text-align: left; transform-origin: 383.5px 10.3333px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 0px 0px; transform-origin: 0px 0px; \"\u003e\u003cspan style=\"\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 20.6667px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 383.5px 10.3333px; text-align: left; transform-origin: 383.5px 10.3333px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 0px 0px; transform-origin: 0px 0px; \"\u003e\u003cspan style=\"\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e","function_template":"function x = your_fcn_name(A)\r\n  x = A;\r\nend","test_suite":"%%\r\nA = [3 4 7];\r\ny_correct = 1;\r\nassert(isequal(your_fcn_name(A),y_correct))\r\n","published":true,"deleted":false,"likes_count":1,"comments_count":2,"created_by":71768,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":64,"test_suite_updated_at":"2020-11-11T07:52:49.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2020-11-11T07:50:41.000Z","updated_at":"2026-02-15T11:09:35.000Z","published_at":"2020-11-11T07:50:41.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e% When input A is [3 4 7], the equation is '3X+4=7 '. then, calculate X.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\",\"relationship\":null}],\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"target\":\"/matlab/document.xml\",\"relationshipId\":\"rId1\"}]}"},{"id":45927,"title":"GPA","description":"Math's credit is 5 and you got x | Physics's credit 7 and you got y what is your GPA ","description_html":"\u003cp\u003eMath's credit is 5 and you got x | Physics's credit 7 and you got y what is your GPA\u003c/p\u003e","function_template":"function z = gpa(x,y)\r\n  z = x and y;\r\nend","test_suite":"%%\r\nx = 75;\r\ny = 81;\r\nz_correct = 78.5;\r\nassert(isequal(gpa(x,y),z_correct))\r\n","published":true,"deleted":false,"likes_count":1,"comments_count":0,"created_by":441903,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":115,"test_suite_updated_at":"2020-06-14T12:04:49.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2020-06-14T12:00:53.000Z","updated_at":"2026-02-15T11:17:42.000Z","published_at":"2020-06-14T12:04:06.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eMath's credit is 5 and you got x | Physics's credit 7 and you got y what is your GPA\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":45933,"title":"Watt","description":"Ampere x Volt = Watt","description_html":"\u003cp\u003eAmpere x Volt = Watt\u003c/p\u003e","function_template":"function y = watt(A,V)\r\n  y = A and V;\r\nend","test_suite":"%%\r\nV = 24;\r\nA = 15;\r\ny_correct = 360;\r\nassert(isequal(watt(A,V),y_correct))\r\n","published":true,"deleted":false,"likes_count":2,"comments_count":0,"created_by":441903,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":112,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2020-06-14T12:17:37.000Z","updated_at":"2026-02-15T11:18:17.000Z","published_at":"2020-06-14T12:17:37.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eAmpere x Volt = Watt\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":43687,"title":"Change on Spiral Matrix","description":"n\u003e=3, generate a matrix of nth such that n^2 is the max number, and max number must be in [1,1] or [end, end]. One example will be suggested below:\r\nExample : n=4\r\nanswer :\r\n10  9  8  7\r\n11  2  1  6\r\n12  3  4  5\r\n13  14 15 16 ","description_html":"\u003cp\u003en\u0026gt;=3, generate a matrix of nth such that n^2 is the max number, and max number must be in [1,1] or [end, end]. One example will be suggested below:\r\nExample : n=4\r\nanswer :\r\n10  9  8  7\r\n11  2  1  6\r\n12  3  4  5\r\n13  14 15 16\u003c/p\u003e","function_template":"function y = your_fcn_name(n)\r\n  y = n ;\r\nend","test_suite":"%%\r\nn = 5;\r\ny_correct = [25 24 23 22 21;10 9 8 7 20;11 2 1 6 19;12 3 4 5 18;13 14 15 16 17];\r\nassert(isequal(your_fcn_name(n),y_correct))","published":true,"deleted":false,"likes_count":1,"comments_count":0,"created_by":89616,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":59,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2016-11-27T14:08:23.000Z","updated_at":"2026-03-15T03:52:53.000Z","published_at":"2016-11-27T14:09:43.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003en\u0026gt;=3, generate a matrix of nth such that n^2 is the max number, and max number must be in [1,1] or [end, end]. One example will be suggested below: Example : n=4 answer : 10 9 8 7 11 2 1 6 12 3 4 5 13 14 15 16\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":50437,"title":"Number Puzzle - 080","description":null,"description_html":"\u003cdiv style = \"text-align: start; line-height: 20.44px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, monospace; font-style: normal; font-size: 14px; font-weight: 400; text-decoration: none solid rgb(0, 0, 0); white-space: normal; \"\u003e\u003cdiv style=\"block-size: 21px; display: block; min-width: 0px; padding-block-start: 0px; padding-top: 0px; perspective-origin: 407px 10.5px; transform-origin: 407px 10.5px; vertical-align: baseline; \"\u003e\u003cdiv style=\"font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 10.5px; text-align: left; transform-origin: 384px 10.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 0px 0px; transform-origin: 0px 0px; \"\u003e\u003cspan style=\"\"\u003eFind all four-digit prime numbers whose digits are monotonically decreasing from left-to-right.\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e","function_template":"function y = puzzle_080()\r\n  y = [3111 2111];\r\nend","test_suite":"%%\r\ny=puzzle_080();\r\nassert(isequal(unique(isprime(y)),1))\r\nassert(isequal(length(unique(y)),76))\r\nassert(isequal(sum(y),588390))\r\n","published":true,"deleted":false,"likes_count":0,"comments_count":1,"created_by":180632,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":28,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2021-02-17T20:47:51.000Z","updated_at":"2026-01-30T15:55:08.000Z","published_at":"2021-02-17T20:47:51.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eFind all four-digit prime numbers whose digits are monotonically decreasing from left-to-right.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\",\"relationship\":null}],\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"target\":\"/matlab/document.xml\",\"relationshipId\":\"rId1\"}]}"},{"id":43551,"title":"I told you not separate me, but you did :( - ACDC","description":"Given input vector, output it's DC and AC value\r\n\r\nExample:\r\n\r\ninput = 0 1 -1 0\r\nac = 0 1 -1 0\r\ndc = 0","description_html":"\u003cp\u003eGiven input vector, output it's DC and AC value\u003c/p\u003e\u003cp\u003eExample:\u003c/p\u003e\u003cp\u003einput = 0 1 -1 0\r\nac = 0 1 -1 0\r\ndc = 0\u003c/p\u003e","function_template":"function [ac dc] = acDC(x)\r\n  ac = x;\r\n  dc = x;\r\nend","test_suite":"%%\r\nx = [0 1 -1 0];\r\nac_correct = [0 1 -1 0];\r\ndc_correct = 0;\r\n[ac dc] = acDC(x);\r\nassert(isequal(ac,ac_correct))\r\nassert(isequal(dc,dc_correct))\r\n%%\r\nx = [5 6 4 5];\r\nac_correct = [0 1 -1 0];\r\ndc_correct = 5;\r\n[ac dc] = acDC(x);\r\nassert(isequal(ac,ac_correct))\r\nassert(isequal(dc,dc_correct))\r\n","published":true,"deleted":false,"likes_count":2,"comments_count":1,"created_by":13865,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":63,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2016-10-14T10:20:04.000Z","updated_at":"2026-04-08T12:43:03.000Z","published_at":"2016-10-14T10:20:04.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eGiven input vector, output it's DC and AC value\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eExample:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003einput = 0 1 -1 0 ac = 0 1 -1 0 dc = 0\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":44326,"title":"Replace 0 indices in array with 1's","description":"Take a incoming vector, and replace 0's with ones","description_html":"\u003cp\u003eTake a incoming vector, and replace 0's with ones\u003c/p\u003e","function_template":"function y = your_fcn_name(x)\r\n  y = ...;\r\nend","test_suite":"%%\r\nx = -1:1:3\r\ny_correct = [-1 1 1 2 3];\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":0,"comments_count":1,"created_by":12852,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":143,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2017-09-14T17:22:35.000Z","updated_at":"2026-02-09T17:09:04.000Z","published_at":"2017-09-14T17:22:35.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eTake a incoming vector, and replace 0's with ones\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":45903,"title":"Given A4 sizes find A3's long side","description":"I think you know the relation between A3 and A4 paper so givens are sides of A4\r\nx1=long side of A4\r\ny1=short side of A4\r\ny2 is the long side of A3 \r\nAll dimensions in milimeter","description_html":"\u003cp\u003eI think you know the relation between A3 and A4 paper so givens are sides of A4\r\nx1=long side of A4\r\ny1=short side of A4\r\ny2 is the long side of A3 \r\nAll dimensions in milimeter\u003c/p\u003e","function_template":"function y2 = a3longside(x1,y1)\r\n  y2 = y1;\r\nend","test_suite":"%%\r\nx1 = 210;\r\ny1 = 297;\r\ny2_correct = 420;\r\nassert(isequal(a3longside(x1,y1),y2_correct))\r\n","published":true,"deleted":false,"likes_count":1,"comments_count":1,"created_by":441903,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":99,"test_suite_updated_at":"2020-06-13T12:40:47.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2020-06-13T12:32:34.000Z","updated_at":"2026-04-07T19:04:27.000Z","published_at":"2020-06-13T12:39:52.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eI think you know the relation between A3 and A4 paper so givens are sides of A4 x1=long side of A4 y1=short side of A4 y2 is the long side of A3 All dimensions in milimeter\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":43329,"title":"Solve expression II","description":"Solve given expression.\r\n\r\nalpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1)\r\n\r\nbeta=5exp((-x+y-60)/20)\r\n\r\nresult=alpha+beta;","description_html":"\u003cp\u003eSolve given expression.\u003c/p\u003e\u003cp\u003ealpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1)\u003c/p\u003e\u003cp\u003ebeta=5exp((-x+y-60)/20)\u003c/p\u003e\u003cp\u003eresult=alpha+beta;\u003c/p\u003e","function_template":"function z = your_fcn_name(x,y)\r\n  z = x+y;\r\nend","test_suite":"%%\r\nx = 1;\r\ny = 1;\r\nbeta=5.*exp((-x+y-60)/20);\r\nalpha=0.1.*(-x-y-50)./(exp((-x-y-50)/10)-1);\r\ny_correct = alpha+beta;\r\nassert(isequal(your_fcn_name(x,y),y_correct))\r\n%%\r\nx = 1:10;\r\ny = 1:10;\r\nbeta=5.*exp((-x+y-60)/20);\r\nalpha=0.1.*(-x-y-50)./(exp((-x-y-50)/10)-1);\r\ny_correct = alpha+beta;\r\nassert(isequal(your_fcn_name(x,y),y_correct))","published":true,"deleted":false,"likes_count":3,"comments_count":2,"created_by":90467,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":94,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2016-10-11T09:22:33.000Z","updated_at":"2026-03-31T10:24:37.000Z","published_at":"2016-10-11T09:22:33.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eSolve given expression.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003ealpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1)\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003ebeta=5exp((-x+y-60)/20)\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eresult=alpha+beta;\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":43747,"title":"Find the distance traveled by a car given velocity and time.","description":"A car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and time, to find the distance traveled.","description_html":"\u003cp\u003eA car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and time, to find the distance traveled.\u003c/p\u003e","function_template":"function y = distance(velocity,time)\r\n  D = time;\r\nend","test_suite":"%%\r\nvelocity = 10;\r\ntime = 60; \r\nD_correct = 600;\r\nassert(isequal(distance(velocity,time),D_correct))\r\n","published":true,"deleted":false,"likes_count":1,"comments_count":0,"created_by":100857,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":130,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2016-12-07T20:05:40.000Z","updated_at":"2026-02-10T21:28:41.000Z","published_at":"2016-12-07T20:05:40.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eA car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and time, to find the distance traveled.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":43326,"title":"Solve expression I","description":"Solve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.","description_html":"\u003cp\u003eSolve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.\u003c/p\u003e","function_template":"function y = your_fcn_name(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = [2     -3     4];\r\ny_correct =  (1.+sin(x))./cos(x)+cos(x)/(1.+sin(x));\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n%%\r\nx = 1:3:100;\r\ny_correct =  (1.+sin(x))./cos(x)+cos(x)/(1.+sin(x));\r\nassert(isequal(your_fcn_name(x),y_correct))","published":true,"deleted":false,"likes_count":3,"comments_count":4,"created_by":90467,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":101,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2016-10-11T09:03:10.000Z","updated_at":"2026-03-16T01:33:02.000Z","published_at":"2016-10-11T09:03:10.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eSolve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":2980,"title":"multiply by three","description":"\r\nGiven the variable x as your input, multiply it by 3 and put the result equal to y.\r\n\r\nExamples:\r\n Input  x = 2\r\n Output y is 6\r\n Input  x = 10\r\n Output y is 30\r\n","description_html":"\u003cp\u003eGiven the variable x as your input, multiply it by 3 and put the result equal to y.\u003c/p\u003e\u003cp\u003eExamples:\r\n Input  x = 2\r\n Output y is 6\r\n Input  x = 10\r\n Output y is 30\u003c/p\u003e","function_template":"function y = your_fcn_name(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = 1;\r\ny_correct = 3;\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":9,"comments_count":3,"created_by":33999,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":1014,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2015-02-07T05:00:06.000Z","updated_at":"2026-02-13T06:54:43.000Z","published_at":"2015-02-07T05:00:06.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eGiven the variable x as your input, multiply it by 3 and put the result equal to y.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eExamples: Input x = 2 Output y is 6 Input x = 10 Output y is 30\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":44941,"title":"Find square of given number","description":"Find Square of any number","description_html":"\u003cp\u003eFind Square of any number\u003c/p\u003e","function_template":"function y = square(x)\r\n  y = x+1;\r\nend","test_suite":"%%\r\nx = 1;\r\ny_correct = 1;\r\nassert(isequal(square(x),y_correct))","published":true,"deleted":false,"likes_count":0,"comments_count":0,"created_by":293792,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":112,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2019-08-08T17:00:36.000Z","updated_at":"2026-02-12T19:03:31.000Z","published_at":"2019-08-08T17:00:36.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eFind Square of any number\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":45157,"title":"easy problem","description":"Find the last element of the array","description_html":"\u003cp\u003eFind the last element of the array\u003c/p\u003e","function_template":"function y = your_fcn_name(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = [1 2 3 4 5];\r\ny_correct = 5;\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":2,"comments_count":0,"created_by":343758,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":242,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2019-10-07T17:34:43.000Z","updated_at":"2026-03-04T00:32:12.000Z","published_at":"2019-10-07T17:34:42.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eFind the last element of the array\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":1050,"title":"Basics: 'Find the eigenvalues of given matrix","description":"Find the eigenvalues y for a given matrix x.","description_html":"\u003cp\u003eFind the eigenvalues y for a given matrix x.\u003c/p\u003e","function_template":"function y = harish_eigen(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = [1 2;3 4];\r\ny_correct = eig(x);\r\nassert(isequal(harish_eigen(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":1,"comments_count":3,"created_by":6975,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":438,"test_suite_updated_at":"2012-11-23T08:58:14.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2012-11-23T08:52:15.000Z","updated_at":"2026-02-11T14:33:34.000Z","published_at":"2012-11-23T08:52:15.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eFind the eigenvalues y for a given matrix x.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":47643,"title":"Find the sum to n terms of an arithmetic progression of the type 2n+1.","description":null,"description_html":"\u003cdiv style = \"text-align: start; line-height: 20.4333px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, monospace; font-style: normal; font-size: 14px; font-weight: 400; text-decoration: rgb(0, 0, 0); white-space: normal; \"\u003e\u003cdiv style=\"block-size: 51px; display: block; min-width: 0px; padding-block-start: 0px; padding-top: 0px; perspective-origin: 407.5px 25.5px; transform-origin: 407.5px 25.5px; vertical-align: baseline; \"\u003e\u003cdiv style=\"block-size: 21px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384.5px 10.5px; text-align: left; transform-origin: 384.5px 10.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 199.875px 7.66667px; transform-origin: 199.875px 7.66667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eExample: Sum the first 20 terms of the sequence: 1, 3, 5, 7, 9, ...\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 21px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384.5px 10.5px; text-align: left; transform-origin: 384.5px 10.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 30.1583px 7.66667px; transform-origin: 30.1583px 7.66667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eS20=400.\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e","function_template":"function y = your_fcn_name(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = [1 3 5 7 9];\r\ny_correct = 25;\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n\r\nx = [1 3 5 7];\r\ny_correct = 16;\r\nassert(isequal(your_fcn_name(x),y_correct))","published":true,"deleted":false,"likes_count":0,"comments_count":1,"created_by":727868,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":47,"test_suite_updated_at":"2020-11-29T09:03:09.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2020-11-28T13:32:28.000Z","updated_at":"2026-02-08T17:50:50.000Z","published_at":"2020-11-28T13:32:28.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eExample: Sum the first 20 terms of the sequence: 1, 3, 5, 7, 9, ...\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eS20=400.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\",\"relationship\":null}],\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"target\":\"/matlab/document.xml\",\"relationshipId\":\"rId1\"}]}"},{"id":47194,"title":"Summation of integers","description":null,"description_html":"\u003cdiv style = \"text-align: start; line-height: 20.44px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, monospace; font-style: normal; font-size: 14px; font-weight: 400; text-decoration: none solid rgb(0, 0, 0); white-space: normal; \"\u003e\u003cdiv style=\"block-size: 80.4px; display: block; min-width: 0px; padding-block-start: 0px; padding-top: 0px; perspective-origin: 407px 40.2px; transform-origin: 407px 40.2px; vertical-align: baseline; \"\u003e\u003cdiv style=\"block-size: 20.8px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 10.4px; text-align: left; transform-origin: 384px 10.4px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 0px 0px; transform-origin: 0px 0px; \"\u003e\u003cspan style=\"\"\u003eAdd connsecutive numbers up to givven number x.\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 20.8px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 10.4px; text-align: left; transform-origin: 384px 10.4px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 0px 0px; transform-origin: 0px 0px; \"\u003e\u003cspan style=\"\"\u003eex: x=5\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 20.8px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 10.4px; text-align: left; transform-origin: 384px 10.4px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 0px 0px; transform-origin: 0px 0px; \"\u003e\u003cspan style=\"\"\u003ey=1+2+3+4+5\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e","function_template":"function y = your_fcn_name(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = 3;\r\ny_correct = 6;\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":0,"comments_count":0,"created_by":681629,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":121,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2020-11-03T03:14:21.000Z","updated_at":"2026-02-12T19:05:45.000Z","published_at":"2020-11-03T03:14:21.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eAdd connsecutive numbers up to givven number x.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eex: x=5\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003ey=1+2+3+4+5\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\",\"relationship\":null}],\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"target\":\"/matlab/document.xml\",\"relationshipId\":\"rId1\"}]}"},{"id":43479,"title":"Modulation index","description":"The amplitude of the carrier signal is 2V and the amplitude of the modulating signal is 8V. Find its modulation index.","description_html":"\u003cp\u003eThe amplitude of the carrier signal is 2V and the amplitude of the modulating signal is 8V. Find its modulation index.\u003c/p\u003e","function_template":"function z = your_fcn_name(x,y)\r\n  z = ;\r\nend","test_suite":"%%\r\nx = 8; y=2;\r\nz_correct = 4;\r\nassert(isequal(your_fcn_name(x,y),z_correct))\r\n","published":true,"deleted":false,"likes_count":3,"comments_count":1,"created_by":87885,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":89,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2016-10-11T22:34:12.000Z","updated_at":"2026-02-06T15:38:09.000Z","published_at":"2016-10-11T22:34:12.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eThe amplitude of the carrier signal is 2V and the amplitude of the modulating signal is 8V. Find its modulation index.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":2353,"title":"Sum of the Matrix Elements","description":"Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns.\r\n\r\nExample : \r\n\r\nx=  [ 8     1     6]\r\n     \r\n \r\nThe total sum of the elements will be 8+1+6= 15.\r\n","description_html":"\u003cp\u003eAdd up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns.\u003c/p\u003e\u003cp\u003eExample :\u003c/p\u003e\u003cp\u003ex=  [ 8     1     6]\u003c/p\u003e\u003cp\u003eThe total sum of the elements will be 8+1+6= 15.\u003c/p\u003e","function_template":"function y = your_fcn_name(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = [1];\r\ny_correct = 1;\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":6,"comments_count":2,"created_by":27280,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":601,"test_suite_updated_at":"2014-06-08T12:50:40.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2014-06-08T12:46:47.000Z","updated_at":"2026-02-05T19:39:47.000Z","published_at":"2014-06-08T12:50:40.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eAdd up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eExample :\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003ex= [ 8 1 6]\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eThe total sum of the elements will be 8+1+6= 15.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":1924,"title":"Create a two dimensional zero matrix","description":"You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros.\r\n\r\nExample:\r\n\r\nIf input is m=2 and n=3 then\r\n  \r\n A = [ 0 0 0\r\n       0 0 0 ]\r\n","description_html":"\u003cp\u003eYou have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros.\u003c/p\u003e\u003cp\u003eExample:\u003c/p\u003e\u003cp\u003eIf input is m=2 and n=3 then\u003c/p\u003e\u003cpre\u003e A = [ 0 0 0\r\n       0 0 0 ]\u003c/pre\u003e","function_template":"function y = zero_matrix(m,n)\r\n\r\nend","test_suite":"%%\r\nm = 2;n=3;\r\ny_correct = [0 0 0;0 0 0]\r\nassert(isequal(zero_matrix(m,n),y_correct))","published":true,"deleted":false,"likes_count":3,"comments_count":0,"created_by":18256,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":525,"test_suite_updated_at":"2013-10-08T18:58:49.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2013-10-08T18:25:50.000Z","updated_at":"2026-02-08T06:16:27.000Z","published_at":"2013-10-08T18:25:50.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eYou have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eExample:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eIf input is m=2 and n=3 then\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"code\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c![CDATA[ A = [ 0 0 0\\n       0 0 0 ]]]\u003e\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":1797,"title":"03 - Matrix Variables 1","description":"Make the following variable:\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_3a.png\u003e\u003e\r\n\r\nA 9x9 matrix full of 2's\r\n\r\n(Hint: use *ones* or *zeros*)\r\n","description_html":"\u003cp\u003eMake the following variable:\u003c/p\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_3a.png\"\u003e\u003cp\u003eA 9x9 matrix full of 2's\u003c/p\u003e\u003cp\u003e(Hint: use \u003cb\u003eones\u003c/b\u003e or \u003cb\u003ezeros\u003c/b\u003e)\u003c/p\u003e","function_template":"function aMat = MatrixFunc()\r\n  *Insert code here\r\nend","test_suite":"%%\r\nref = ones(9,9)*2;\r\nuser = MatrixFunc();\r\nassert(isequal(user,ref))","published":true,"deleted":false,"likes_count":5,"comments_count":2,"created_by":15468,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":715,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2013-08-13T13:48:16.000Z","updated_at":"2026-02-24T03:00:51.000Z","published_at":"2013-08-13T13:48:16.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/media/image1.png\"}],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eMake the following variable:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId1\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eA 9x9 matrix full of 2's\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e(Hint: use\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:rPr\u003e\u003cw:b/\u003e\u003c/w:rPr\u003e\u003cw:t\u003eones\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e or\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:rPr\u003e\u003cw:b/\u003e\u003c/w:rPr\u003e\u003cw:t\u003ezeros\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e)\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"},{\"partUri\":\"/media/image1.png\",\"contentType\":\"image/png\",\"content\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAABsCAIAAABFKa9dAAAJEUlEQVR42u2dfVAU5x3Hd09y1guWTpSKaZWgYmgw2sHgWyGQNkEd6NBo1RhItGgril5iQ6MtUkXjnDA1TISLM2RMGIKACKViJYDBBhHkxSiIDvEAvSnIy3mclTtO4O423d1TvIV7I5zC4vf7Hwc8N8+zn9/b87bE9xBkIgJDAAEICEBAAAICEBCAgAAEBCAgAAEBCAeq46xYRBKD5OGX2E49dc94WEMxnoEIjCzQweTNqadZ6u8PIAZLe7Uo6d2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AAEgAASAABAAAkAACAABIMaYcHGpFeHiUgghA0AACAABIAAEgHAYENqrRUnvBkxj9neRczfFpl/v4jE/6uZiSVSAkNmWNmnx6thTVQoAMSwgzLynyjPQxvtPxzANx0PmOpv2xUm0PLuhB0DYW3b2qwrC5wVK8hvZykt5NjmMhYOnL4PvzBD7hW7PYfcn6ltrkld6Olt/f9jTWHZaBUJ/48SueM6bvkfzbqgRqu/OySgx583ENnfbAojB8aK+pHTQ23zZQeQlEOrm8xWNnOhgPDkNIIYRMsyMEQMET0PGYBmBQMgYCRDMAeXpdpxo4EkQyVoxxSelstsi/QDClkld3xe0VMLJKvgr7UXpm69HcrIKADEsIOgRfGtzYp1hXHS8WyYNCrJRPwMIa8GipVLyzg5r9sQj9avKotd9WK20MZ0CIKyk6FlicXqbw+ajzJav9n84wlxSdvT9XYWyHtsZNICwZE97xClc76q92XSbn7FDWXBwdy53dlIjb+rQAQj7gKBpiNmWUM9Zv9C3VB05nCnnJw07U8oVgzoYtzfXbOUJIMx416Rwb3tuouFFWTF0XYaVxWkVAGE20puRA6/Be2KydN+SFbgBBPTUA4ENMlaE/RAQgAAQAAJAAAgAASAABID4YUCIhhTnHn7mR2F8a1hDQcBcIAABAQgIQEAAAgIQEICAAAQEIKDR0P8BRk256latLskAAAAASUVORK5CYII=\"}]}"},{"id":1792,"title":"02 - Vector Variables 2","description":"Make the following variable:\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_2b.png\u003e\u003e","description_html":"\u003cp\u003eMake the following variable:\u003c/p\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_2b.png\"\u003e","function_template":"function bVec = VectorFunc()\r\n  *Insert code here\r\nend","test_suite":"%%\r\nbVec = [2.71;8;28;182];\r\nb = VectorFunc();\r\nassert(isequal(b,bVec))","published":true,"deleted":false,"likes_count":2,"comments_count":0,"created_by":15468,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":719,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2013-08-13T13:30:23.000Z","updated_at":"2026-02-24T03:00:14.000Z","published_at":"2013-08-13T13:30:23.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/media/image1.png\"}],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eMake the following variable:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId1\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"},{\"partUri\":\"/media/image1.png\",\"contentType\":\"image/png\",\"content\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAACHCAIAAABVrBYZAAAK/klEQVR42u2deVwTZxrHZwJSYUVckQr1qCKiC4Ks/SC61QIqaFetblWwCH76oXbFUrO4orYeW6uyqNWmGpCux0crl1dXyxaKoFVRRCx1VxGQI8oKcokgRM4kw05mkpCZScIMGZGF5/nPmTBO3u+8z/HO83uDdID1AkNgCAADGGAADGCAATCA9SsMVelCCxSh2dgZokqsR29D0ZYeYGdKuw2BYM65otb+gsErJEXWG2+tYPvsBYBBY833LopXeg7HH08UdfxoW1zeMwMfLxN/MAZhGIpOOXyrUfMhqSQt6oAo3M/JbUlsAwYYusbQfCcxeISAMqbjvUTlev6gLmfHGBOUicFm4taidtVn6nP2Ba2JjAj1NEMQwMAKQ3tdSuAkr8ikYoXyX7XpUSsIJLbhsaW6Pv4idcf7G2MLFPT54bBoa6ZCFzDAwAaDvPD0pj0pFdSBno4g5sxhJaziXwlXpdRhbXt6ap41xSMBBq4YmnMvX6uQMYdPHwZdIE8F2ml5JMDAT6ZEDJ8+p6QzYjvoZAYYjMGg9+nWafo8EmAwCgMmz9vuOz2SEi26mDr2ln6Xq2WAgUcMzVnRy1eJ7irYXlsZz/UNNGDoHgZ52a3IoLVJUtaLHJg8e+3kMfqiCGDoDgap5JRQGFfBZdHDgEcCDN3B0F53favwMLVybn5Y8kTRX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UvEAGLhYY1G0ry/9J8j4UDwABtbWXnc93H+jJhRrZbTGKx4AA9vIXBQTtim1iF6U8aR4AAysrDYl4rPvqYXxi9KSKhlfigfAwIrBusOZNTQH9eUX3+NDz5PiATB0lRoxfyiUME3TIi+KB8Bg0PS9aqX6HOMVD7BVei8w2Cq9lxg4JcAAGAADYAAMgAEwAAbAABgAA2AADIABMAAGwAAYAANgAAyAoW9hkErSog6Iwv2cdL5P1tI6IEPsl3wVl01tHevUOqCo40fb4vKeyQADxdi8favP2Re0JjKCGGgmBkLr8Ia6RbX5bsqmt6yGabUk6XhxPd6L3l7GtP719o39S1Bm9xFhyo0qqA1IlCPtdSmBk7wik4oJKrXpUSsIJHp3PAIM3cFAa6nXYFC3B8gLT2/aQ2nIIPcXMe9ScgLvojnPBpTS/FIm/sBhlqqzuDn38jVa6ypThAKxwXgMqsZIU4u3Cc+jdDtuM77I1R+Eiet07ZQAAzcMuOcpuxXx1mDc5Vva23uEfpNpUE6ibK20Y9XMChi4YejQ7NRNJKxBzOZirViSt913Orv2PcDADQPuiFb6+p8orbm109/ZIInmrOjlq9i21wMGDhjkpWnrRppoFFcqrZWuygD3XZFBa5NYK+AAA8eEVbt7lXA7duTuXdQq75RQGMdF8AMYWGMgO+apTcRkZUDJhdrrrm8VHqbOj+aHJU8UgIEnp6TUGVKffeURbTA4gy2f7KWmsPKy7IP7E0thNnDFoIwBIwTMNSVVtjpOVSsQa0qDLdTlm1KYJQ50ZrPPGWDoAgNT0ECFIS//JTHczwnRscJKOigdxkL5Axh6hQEGwAAYAANgAAyAATC8egwWDHGtelvZnjNFW3qAnSntNgSCOf0Fw/+dAQbAAAYYAAMYYAAMYIChV9v/AN5zhsi3siidAAAAAElFTkSuQmCC\"}]}"},{"id":1790,"title":"01 - Scalar variables","description":"Create the following variables:\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_1.png\u003e\u003e","description_html":"\u003cp\u003eCreate the following variables:\u003c/p\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_1.png\"\u003e","function_template":"function [a b c] = ScalarVars()\r\n  \r\n  * Insert code here!\r\n\r\nend","test_suite":"%%\r\na = 10;\r\nb = 2.5*10^23;\r\nc = exp(2*pi/3);\r\n[au bu cu] = ScalarVars;\r\nassert(isequal(a,au));\r\nassert(isequal(b,bu));\r\nassert(isequal(c,cu));","published":true,"deleted":false,"likes_count":0,"comments_count":0,"created_by":15468,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":742,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2013-08-13T12:49:29.000Z","updated_at":"2026-02-24T02:52:41.000Z","published_at":"2013-08-13T12:49:29.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/media/image1.png\"}],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eCreate the following variables:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId1\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"},{\"partUri\":\"/media/image1.png\",\"contentType\":\"image/png\",\"content\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAABMCAIAAAAwSsjdAAAI0UlEQVR42u1cK5qzMBRlReyBFbABNBqLxSHjcCgUCoXCoGIwGAwCg4mIiImI6J8X5TmddtppO/1zxHwdSlvIyX3k3kOsk8HbwzJDYEgyMCQZkgwMSQb/IUl0yGJQj2z3ButhAeIoDKO0aKgh6UVgbQlsSyCGePNWFTn8uO2HoSdP8TNiSHoySF8Fih8J0KxIIm0iicmlfZHUFf+F1fhpJI1NHnie63pxDh/pKxijlE0vf/41feZbHugphcDdkcSq0FkeRFWkOKOfRBJpU2sBN2keETz6NHT1N9qOy+3AARsnRSkhdAN+5BKZbeLtSCKJ+B13doGoEqQ5CfkkktSdz3ASfK8B9aH8pihvMBlz6arssFpPjcaxDuFAcgtJtJVX7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+FQiCOM7jrDSql0SQqVgoFFzQqFKXNgMahjDyVOAjhjiCDApFKDFg/Wj3w0JPMhkwS1y3kHjpIJHzum+wT9Vy1kO4uew+5+UmX01AywkLtHGnzId706ES6xnpfKyapTK7tBApPJiXa0cKn0UJ0bG0egvnfFL7L3oUv2FvIietL5wwNX4XuhEJlM2xcj5b7zIqpANT9Fe5pVjbT3LPcfatbNAbpW20m8IIdURxwKfuA8RdCoWhjxEru49cDwvhHg4qERLvGp/fHc0lqkqXPZAgmSUW2FZ0jpVDXj9sCj9rcKTjnzn0R+3F9PVmUR7+i+RPbbzyVJC2/4nGkqMosUknbTx2/Vmx7cVbXZew7Sjj/R/c8eauKA4NpsNTr3OVsEFzsY+wmVX/6ULziITJKfhhFDl0oecFWRaZ2Z2BIMiQZGJIMSQaGJANDkiHJwJBkYEgyJBkYkgw4/gEGZWErSWAwJQAAAABJRU5ErkJggg==\"}]}"},{"id":44629,"title":"Find parts of a circle.","description":"Given radius (r) of a circle find the diameter (d), circumference (c), an area (a).","description_html":"\u003cp\u003eGiven radius (r) of a circle find the diameter (d), circumference (c), an area (a).\u003c/p\u003e","function_template":"function [d,c,a] = CIRCLE(r)\r\n  d =;\r\n  c =;\r\n  a =;\r\nend\r\n","test_suite":"%%\r\nr = 7;\r\nd_correct = 14;\r\nc_correct = 43.9823;\r\na_correct = 153.9380;\r\nassert(isequal(CIRCLE(r),d_correct))\r\n","published":true,"deleted":false,"likes_count":1,"comments_count":1,"created_by":212188,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":79,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2018-05-02T13:14:59.000Z","updated_at":"2026-02-06T15:52:08.000Z","published_at":"2018-05-02T13:14:59.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eGiven radius (r) of a circle find the diameter (d), circumference (c), an area (a).\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":44086,"title":"Percentage profit","description":"If you are buying at x dollar, what will be the selling price for making the r% profit?","description_html":"\u003cp\u003eIf you are buying at x dollar, what will be the selling price for making the r% profit?\u003c/p\u003e","function_template":"function y = your_fcn_name(x,r)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = 100;\r\nr=20;\r\ny_correct = 120;\r\nassert(isequal(your_fcn_name(x,r),y_correct))\r\n\r\n%%\r\nx = 200;\r\nr=20;\r\ny_correct = 240;\r\nassert(isequal(your_fcn_name(x,r),y_correct))\r\n\r\n","published":true,"deleted":false,"likes_count":1,"comments_count":0,"created_by":123486,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":77,"test_suite_updated_at":"2017-03-21T13:59:58.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2017-03-21T13:56:01.000Z","updated_at":"2026-02-06T18:28:07.000Z","published_at":"2017-03-21T13:56:01.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eIf you are buying at x dollar, what will be the selling price for making the r% profit?\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":43106,"title":"Second smallest number","description":"What is the second smallest number in x?\r\n\r\nexample:\r\n x = [1 2 3 4 5 6 7 8 9]\r\n y = 2","description_html":"\u003cp\u003eWhat is the second smallest number in x?\u003c/p\u003e\u003cp\u003eexample:\r\n x = [1 2 3 4 5 6 7 8 9]\r\n y = 2\u003c/p\u003e","function_template":"function y = secondSmallest(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = [1 2 3 4 5 6 7 8 9];\r\ny_correct = 2;\r\nassert(isequal(secondSmallest(x),y_correct))\r\n%%\r\nx = [2 3 4 5 6 7 8 9];\r\ny_correct = 3;\r\nassert(isequal(secondSmallest(x),y_correct))\r\n%%\r\nx = [1 3 4 5 6 7 8 9];\r\ny_correct = 3;\r\nassert(isequal(secondSmallest(x),y_correct))\r\n%%\r\nx = [5 6 7 8 9];\r\ny_correct = 6;\r\nassert(isequal(secondSmallest(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":0,"comments_count":0,"created_by":94929,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":80,"test_suite_updated_at":"2016-10-19T11:39:25.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2016-10-06T07:42:54.000Z","updated_at":"2026-02-13T18:54:34.000Z","published_at":"2016-10-06T07:42:54.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eWhat is the second smallest number in x?\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eexample: x = [1 2 3 4 5 6 7 8 9] y = 2\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":48015,"title":"Calculate the volume of the football","description":null,"description_html":"\u003cdiv style = \"text-align: start; line-height: 20.44px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, monospace; font-style: normal; font-size: 14px; font-weight: 400; text-decoration: none solid rgb(0, 0, 0); white-space: normal; \"\u003e\u003cdiv style=\"block-size: 63.9631px; display: block; min-width: 0px; padding-block-start: 0px; padding-top: 0px; perspective-origin: 406.989px 31.9744px; transform-origin: 406.996px 31.9815px; vertical-align: baseline; \"\u003e\u003cdiv style=\"block-size: 20.9091px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 383.991px 10.4545px; text-align: left; transform-origin: 383.999px 10.4545px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 0px 0px; transform-origin: 0px 0px; \"\u003e\u003cspan style=\"\"\u003eCalculate the volume of a football given the ball radius r, using the formula below:\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 34.0625px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 383.991px 17.0312px; text-align: left; transform-origin: 383.999px 17.0312px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"vertical-align:-15px\"\u003e\u003cimg src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAABECAYAAAAhtL9RAAALwklEQVR4Xu2dBawtSRGGvwWCExyCQ7KLW3B3lg0Q3N0luLs7u7i7u0OCE4JLcELw4O7ukm+p2vQdzrkz55yZc2bmdScvb9+90z091f9U//VX9exB1FYtMGELHDThudepVwtQAVxBMGkLVABPevnq5CuAKwYmbYEK4EkvX518BXDFwKQtUAE86eXrNPlTAs8DfgrcA/hLp14TuagCeCILteY0jwHcH3hUgLgCeE1D1m67scDVgVcAJ6gA3s0C1Luub4GzAY8DjgUcVgG8viFrz+1b4HjAE4CPAocAj6wA3v4i1DuuZwHjmhsD5wUeBNx3YgB2/pcC7g5cHvg18Erg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+b+PRPdx412NUQG8K8sPe1/X1c98WTrq9+zy439m5cxCeoBgFq0CeBbLuO9DlMXpXpgnKWbx5BXAs1jG1ofIz3/5majBShtbZzHABRXAAxh1hEOWxeXlUa0RTnW1KVUAr2avKV+d30ibVTq5AnjKkOw+9/xAiacjZlXQUwHcHQRTvjI/UOL//Nua6N4+LLJro1QA73oFNr+/x6kMzE4fXzG3gL8svleFsFDfGu3ygObmdx7BCBXAI1iEDafgdzY85SJALVz38wSewPCYu+qDNRCeKvY0jIX/s2oVwNNfTtdQecwDAp50sd7arJunMjxXaB3Etr5ft3VrVgBv3eT1hn1aoAK4T2vWsbZugQrgrZu83rBPC1QA92nNOtbWLVABvHWT1xv2aYEK4D6tWcfaugUqgLdu8nrDPi1QAdynNetYW7fAfwEifqJjO+S6ggAAAABJRU5ErkJggg==\" width=\"88\" height=\"34\" style=\"width: 88px; height: 34px;\"\u003e\u003c/span\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e","function_template":"function y = calcVolume(r)\r\n\r\n    y = r;\r\nend","test_suite":"%%\r\nr = 2;\r\ny_correct = 33.5103;\r\nassert(abs(calcVolume(r) - y_correct) \u003c 0.1)\r\n","published":true,"deleted":false,"likes_count":0,"comments_count":0,"created_by":808745,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":63,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2020-12-17T14:17:48.000Z","updated_at":"2026-04-05T10:34:30.000Z","published_at":"2020-12-17T14:17:48.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eCalculate the volume of a football given the ball radius r, using the formula below:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"equation\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"displayStyle\\\" w:val=\\\"true\\\"/\u003e\u003c/w:customXmlPr\u003e\u003cw:r\u003e\u003cw:t\u003eV_{sphere} = \\\\frac43 \\\\pi r^3\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\",\"relationship\":null}],\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"target\":\"/matlab/document.xml\",\"relationshipId\":\"rId1\"}]}"},{"id":42516,"title":"Calculate Simple Intrest for given data","description":"P,N,R stands for Principle amount, No. of years and rate of intrest resp. Calculate intrest I","description_html":"\u003cp\u003eP,N,R stands for Principle amount, No. of years and rate of intrest resp. Calculate intrest I\u003c/p\u003e","function_template":"function I = SI(p,n,r)\r\n  I = p*n*r;\r\nend","test_suite":"%%\r\np = 1000;\r\nn=2;\r\nr=8;\r\ny_correct = 160;\r\nassert(isequal(SI(p,n,r),y_correct))\r\n","published":true,"deleted":false,"likes_count":0,"comments_count":0,"created_by":46868,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":83,"test_suite_updated_at":"2015-08-19T12:44:01.000Z","rescore_all_solutions":true,"group_id":1,"created_at":"2015-08-19T12:37:41.000Z","updated_at":"2026-02-16T11:49:15.000Z","published_at":"2015-08-19T12:38:45.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eP,N,R stands for Principle amount, No. of years and rate of intrest resp. Calculate intrest I\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":43045,"title":"Display negative numbers","description":"Given array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].","description_html":"\u003cp\u003eGiven array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].\u003c/p\u003e","function_template":"function y = myFunc(x)\r\n  y = x;\r\nend","test_suite":"1\t\r\n%%\r\nx = [1 2 -3 4 -5 6 -7 8 -9 10];\r\ny_correct = [-3 -5 -7 -9];\r\nassert(isequal(myFunc(x),y_correct))","published":true,"deleted":false,"likes_count":8,"comments_count":0,"created_by":91311,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":111,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2016-10-05T11:04:23.000Z","updated_at":"2026-02-13T18:45:35.000Z","published_at":"2016-10-05T11:04:23.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eGiven array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":43567,"title":"i forgot to use capital I","description":"When referring to yourself you should write \"I\" (capital) and not \"i\".\r\nSo correct the input string x, but be aware that other uses of the letter \"i\" should still be in lower case.\r\n\r\nexample:\r\n\r\n x = 'Have i forgot it'\r\n y = 'Have I forgot it'","description_html":"\u003cp\u003eWhen referring to yourself you should write \"I\" (capital) and not \"i\".\r\nSo correct the input string x, but be aware that other uses of the letter \"i\" should still be in lower case.\u003c/p\u003e\u003cp\u003eexample:\u003c/p\u003e\u003cpre\u003e x = 'Have i forgot it'\r\n y = 'Have I forgot it'\u003c/pre\u003e","function_template":"function y = correctIt(x)\r\n  y = x;\r\nend","test_suite":"%%\r\n x = 'Have i forgot it'\r\n y = 'Have I forgot it'\r\nassert(isequal(correctIt(x),y))\r\n%%\r\n x = 'i like it'\r\n y = 'I like it'\r\nassert(isequal(correctIt(x),y))\r\n","published":true,"deleted":false,"likes_count":0,"comments_count":1,"created_by":94929,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":63,"test_suite_updated_at":"2016-10-19T11:30:25.000Z","rescore_all_solutions":true,"group_id":1,"created_at":"2016-10-17T09:57:40.000Z","updated_at":"2026-02-10T08:54:27.000Z","published_at":"2016-10-17T09:57:40.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eWhen referring to yourself you should write \\\"I\\\" (capital) and not \\\"i\\\". So correct the input string x, but be aware that other uses of the letter \\\"i\\\" should still be in lower case.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eexample:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"code\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c![CDATA[ x = 'Have i forgot it'\\n y = 'Have I forgot it']]\u003e\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":2929,"title":"Volume of a box","description":"Given a box with a length a, width b, and height c. Solve the volume of the box.","description_html":"\u003cp\u003eGiven a box with a length a, width b, and height c. Solve the volume of the box.\u003c/p\u003e","function_template":"function y = volume(a,b,c)\r\n  y = x;\r\nend","test_suite":"%%\r\na = 1;\r\nb = 1;\r\nc = 1;\r\ny_correct = 1;\r\nassert(isequal(volume(a,b,c),y_correct))\r\n\r\n%%\r\na = 2;\r\nb = 2;\r\nc = 2;\r\ny_correct = 8;\r\nassert(isequal(volume(a,b,c),y_correct))\r\n\r\n%%\r\na = 3;\r\nb = 3;\r\nc = 3;\r\ny_correct = 27;\r\nassert(isequal(volume(a,b,c),y_correct))\r\n","published":true,"deleted":false,"likes_count":6,"comments_count":0,"created_by":33780,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":724,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2015-02-03T02:21:35.000Z","updated_at":"2026-02-24T02:53:49.000Z","published_at":"2015-02-03T02:21:34.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eGiven a box with a length a, width b, and height c. Solve the volume of the box.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":42736,"title":"Convert from integer to binary","description":"  if true\r\n    % decimalToBinaryVector(x)\r\n  end","description_html":"\u003cpre class=\"language-matlab\"\u003eif true\r\n  % decimalToBinaryVector(x)\r\nend\r\n\u003c/pre\u003e","function_template":"function y = your_fcn_name(x)\r\n  y = decimalToBinaryVector(x);\r\nend","test_suite":"%%\r\nx = 8;\r\ny_correct = [1 0 0 0];\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":2,"comments_count":0,"created_by":63355,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":115,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2016-02-19T00:22:18.000Z","updated_at":"2026-02-12T18:45:10.000Z","published_at":"2016-02-19T00:24:50.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"code\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c![CDATA[if true\\n  % decimalToBinaryVector(x)\\nend]]\u003e\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":1800,"title":"03 - Matrix Variables 4","description":"Make the following variable:\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_3d.png\u003e\u003e\r\n\r\nA 3x4 NaN (Not a Number) matrix \r\n\r\n(Hint: use *nan*)","description_html":"\u003cp\u003eMake the following variable:\u003c/p\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_3d.png\"\u003e\u003cp\u003eA 3x4 NaN (Not a Number) matrix\u003c/p\u003e\u003cp\u003e(Hint: use \u003cb\u003enan\u003c/b\u003e)\u003c/p\u003e","function_template":"function dMat = MatrixFunc()\r\n  *Insert code here\r\nend","test_suite":"%%\r\nrefSize = 12;\r\nuserAns = MatrixFunc();\r\nuser = sum(sum(isnan(userAns)));\r\nassert(isequal(refSize,user))","published":true,"deleted":false,"likes_count":3,"comments_count":0,"created_by":15468,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":644,"test_suite_updated_at":"2013-08-13T14:05:21.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2013-08-13T14:01:32.000Z","updated_at":"2026-02-07T10:34:53.000Z","published_at":"2013-08-13T14:01:32.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/media/image1.png\"}],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eMake the following variable:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId1\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eA 3x4 NaN (Not a Number) matrix\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e(Hint: use\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:rPr\u003e\u003cw:b/\u003e\u003c/w:rPr\u003e\u003cw:t\u003enan\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e)\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"},{\"partUri\":\"/media/image1.png\",\"contentType\":\"image/png\",\"content\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUcAAABrCAIAAABrMtfFAAAPOElEQVR42u2de1wU5RrHZ1dchSQQRdEjiIIKGlIaaBZeKi8d9ejRNBU/iVqJJ0Ur7XhCz1GoFEv5IGHlpYgSFe83AswrgiRe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VZeyuKrh9Y+9FUZ+W2MyES953hF0jb87Zk55un9P5Utdy6OPn8ml5phG6ZSdoRc13Awr8a/tVPsLMlL81Oio2JPZ+cQ8+19QVp8acSMh/R2x5sx+OcQlVHplyq6qfUVxVm67aw1Pa8Ldj5MiHSTmltio3QA6+FfzX8q/l1A+BfbQrg+9WgTQNVAwBVQ9UAQNVQNQBQNVQNAFQNVQMAVUPVAKqGqgGAqqFqAKBqqBoAqBqqBgCqpsj42sNuUGANnj5om1Tu8XZ8afoRzNUAYK6GqgGAqqFqAKBqqBoAqBqqBgCq1gf8q4UOxQn4VzeYiH91q4Pzzhb8qwUOxQ34VxsY6pnc2eKsavhXCxyK26QH/2oDQ0HVLeQE/KsFDsUJ+FcbHAqqbiGd4V/NP5TBwL/a8ISBqvUXNvCvboB/NZ+i2mQSBqrWC/yreYUSSBnwrxYgYaBqfYUN/Kv5hBIK+FcLkTBQtf7GL/yr4V/Na9PBZBIGqm4e+FfzCCUc8K8WJGGgar09ZPhXw7+a16aD6SQMVK23hwz/avhX89p0MJ2Egaqbe0bwr4Z/NS9Rm1jCQNVNgH81/Kv59CZN0L8aqm4C/KvhX82vG2ByCYNzywBoa+D71QBA1VA1AFA1VA0AVA1VAwBVQ9UAPOuqpg+p06HpSwsAtAbKI/1cG2czYfnMqRqAZxOoGgCoGgAAVQMAoGoAAFQNAICqAYCqAQBQNQDgafB/b1ASSH1eI4AAAAAASUVORK5CYII=\"}]}"},{"id":44033,"title":"row removal","description":"Remove the nth row from input matrix M and return the resulting matrix in output N.\r\n","description_html":"\u003cp\u003eRemove the nth row from input matrix M and return the resulting matrix in output N.\u003c/p\u003e","function_template":"function N = row_removal(M,n)\r\n  N = ...;\r\nend","test_suite":"%%\r\nM= [1 2 3; 4 5 6];\r\nn = 2;\r\nN_correct = [1 2 3];\r\nassert(isequal(row_removal(M,n),N_correct))","published":true,"deleted":false,"likes_count":0,"comments_count":0,"created_by":110067,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":128,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2017-01-22T20:05:17.000Z","updated_at":"2026-03-18T23:48:03.000Z","published_at":"2017-01-24T20:41:17.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eRemove the nth row from input matrix M and return the resulting matrix in output N.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":46063,"title":"Area of a pentagon","description":"Given the side of a regular pentagon and its apothem return the area of pentagon.\r\n\r\nRemember the area of pentagon is calculate as the product between perimeter and the apothem divided by 2. ","description_html":"\u003cp\u003eGiven the side of a regular pentagon and its apothem return the area of pentagon.\u003c/p\u003e\u003cp\u003eRemember the area of pentagon is calculate as the product between perimeter and the apothem divided by 2.\u003c/p\u003e","function_template":"function area = pentagon_Area(s,A)\r\n  area=s^2;\r\nend","test_suite":"%%\r\ns = 8;\r\nA = 9;\r\narea_correct = 180;\r\nassert(isequal(pentagon_Area(s,A),area_correct))\r\n\r\n%%\r\ns=pi;\r\nA=9;\r\narea_correct=(45/2)*pi;\r\nassert(isequal(pentagon_Area(s,A),area_correct))","published":true,"deleted":false,"likes_count":1,"comments_count":0,"created_by":426918,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":84,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2020-07-27T22:20:36.000Z","updated_at":"2026-02-10T13:53:36.000Z","published_at":"2020-07-27T22:21:26.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eGiven the side of a regular pentagon and its apothem return the area of pentagon.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eRemember the area of pentagon is calculate as the product between perimeter and the apothem divided by 2.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":42348,"title":"Square a Number","description":"Given an input x, return y, which is equal to the square of x.","description_html":"\u003cp\u003eGiven an input x, return y, which is equal to the square of x.\u003c/p\u003e","function_template":"function y = square(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = 4;\r\ny_correct = 16;\r\nassert(isequal(square(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":3,"comments_count":0,"created_by":44605,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":899,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2015-06-01T01:29:01.000Z","updated_at":"2026-02-15T15:05:29.000Z","published_at":"2015-06-01T01:29:01.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eGiven an input x, return y, which is equal to the square of x.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":43634,"title":"Find product of eigenvalues of n*n magic matrix.","description":"Find product of eigenvalues of n*n magic matrix.\r\n\r\nExample \r\n\r\nn=3\r\n\r\nMatrix= [ 8     1     6;\r\n     3     5     7;\r\n     4     9     2]\r\n\r\nresult=-360","description_html":"\u003cp\u003eFind product of eigenvalues of n*n magic matrix.\u003c/p\u003e\u003cp\u003eExample\u003c/p\u003e\u003cp\u003en=3\u003c/p\u003e\u003cp\u003eMatrix= [ 8     1     6;\r\n     3     5     7;\r\n     4     9     2]\u003c/p\u003e\u003cp\u003eresult=-360\u003c/p\u003e","function_template":"function y = ProdEigMag(n)\r\n  y = n;\r\nend","test_suite":"%%\r\nn = 3;\r\ny_correct = -360;\r\nassert(abs(ProdEigMag(n)-y_correct)\u003c10^(-4))\r\n%%\r\nn = 6;\r\ny_correct = -9.0175e-08;\r\nassert(abs(ProdEigMag(n)-y_correct)\u003c10^(-4))","published":true,"deleted":false,"likes_count":0,"comments_count":1,"created_by":90467,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":72,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2016-10-25T22:15:36.000Z","updated_at":"2026-02-17T08:32:43.000Z","published_at":"2016-10-25T22:15:36.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eFind product of eigenvalues of n*n magic matrix.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eExample\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003en=3\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eMatrix= [ 8 1 6; 3 5 7; 4 9 2]\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eresult=-360\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":1807,"title":"04 - Scalar Equations 2","description":"Define the variables a and b:\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_4-a.png\u003e\u003e\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_4-b.png\u003e\u003e\r\n \r\nUse these to calculate y:\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_4b.png\u003e\u003e\r\n\r\nHint: remember that:\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_4b2.png\u003e\u003e","description_html":"\u003cp\u003eDefine the variables a and b:\u003c/p\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_4-a.png\"\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_4-b.png\"\u003e\u003cp\u003eUse these to calculate y:\u003c/p\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_4b.png\"\u003e\u003cp\u003eHint: remember that:\u003c/p\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_4b2.png\"\u003e","function_template":"function [y a b] = MyFunc()\r\n  *Insert code here\r\nend","test_suite":"%%\r\na=10;\r\nb=2.5e23;\r\nref = (sqrt(a)+b^(1/21))^pi;\r\nuser = MyFunc();\r\nassert(isequal(user,ref))\r\n\r\n%%\r\n[y a b] = MyFunc();\r\nassert(a==10);\r\n\r\n\r\n%%\r\n[y a b] = MyFunc();\r\nassert(b==2.5e23);","published":true,"deleted":false,"likes_count":3,"comments_count":0,"created_by":15468,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":540,"test_suite_updated_at":"2013-08-14T08:44:04.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2013-08-14T08:40:54.000Z","updated_at":"2026-02-10T14:06:46.000Z","published_at":"2013-08-14T08:42:07.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/media/image1.png\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/media/image2.png\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId3\",\"target\":\"/media/image3.png\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId4\",\"target\":\"/media/image4.png\"}],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eDefine the variables a and b:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId1\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId2\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eUse these to calculate y:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId3\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eHint: remember that:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId4\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"},{\"partUri\":\"/media/image1.png\",\"contentType\":\"image/png\",\"content\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD8AAAAcCAIAAABZBfAQAAACYUlEQVR42mP4P5QBw6jrR10/6nr6gG+Xds2ZOLHGU02+ZPEDLLI72z1VeRgYGFi4rOsWnPz8bxC5/suO1pSyvo44e3EGBgkM1387tzxJlse6fdPtv///f7671EdNKrx2Py4PDFTK+bKjyRLT9b/ebYvWEPCvOfoXJvLuTJMSr/uq618Hv+v/3FwRw85oNOvEJ7jQvz8nc/WFkP0zaF3/eHKkgqhGza1f/wkJEuf635/v7Fg+e9LkBfuuPLp5dNXsBYff/6WV68HBzI/hUJBKRtQIIcb1X6/tbLJTNctsXrB5+9KiAF0xPmaD4MUf0TPQn48v7t/BB+6/+fKHGNf/fL3CXZgJwwpyXP/l7LJUWXa99q1PwEb9PDXVm4GBP7H/MkbuB8UsAz4gga1YJM31OAzB7vq/z093mopw2SWt+/iXcABQK+VQJ+z//jieZyrEzOa2+sZ3aIr8d6vdR4pbPOPM57+0cz1V0v2f2+uTeRmZrBLXf4GFwadr/XocjNgSPTXTPVXKnOezElSQzf3379GsRE0GBtG8uXewhSLV0j2kvOfmDtv78jfZ5f31eidRRgbF9m1vIGXm3Z1lGkJs4Lh7/+zy+Wc//tG4rpVO6r8Id+unW1PN+HHmNwYcYSkQ13nm178PF7Y0RqdUJtuKsPFGzt/YEpe95h11Uv7LZXmG2KLlz4NdhfB2zq/3J5vDTUlq50AKHBZwpIt6Zy578uNWu7cEAwOXTfSCJ1QIeEio40lalLYx/315eXnPjp1Hzj8DJ8B/nx6f2Xv09rd//wcbGO2djLp+1PWjrh91PbEAAGxZ5hGMqyTlAAAAAElFTkSuQmCC\"},{\"partUri\":\"/media/image2.png\",\"contentType\":\"image/png\",\"content\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAdCAIAAAD0A9/iAAAFh0lEQVR42mP4PwpoBhhGg2A0cEcDd/iCz3c3JNmLMzAwCCiFLT3xCijy6/3J5nBtsEjsjltfRwOXbPB4SkzAjKOvfr07XOAgoerQ/+TXi+WF8UCRz3eX+qjx2GZs+z0auOSBf3/u7t59+y+I+efmihg+gfQzX+7ARN4vy9MkNnB/f3l0fP+OdUsnVRf1nX39mxYOXTc525iPCZyhgruXnPz8j4CWd2eaFJgZGWCAkVGrfdszsiz/dmnXnIkTazzV5EsWP8B02KqWcGmQuxiUrHPWn3yFzQRQ4BoGL/74D15cLA20SySyWPj78uL6rgo/USYGAYXSaz+pHrK3JsdoM6AA4aT+i3/xafqyo8kSWYOoRs2tX2RY/mVHa0pZX0ccqOiUQAtciMOUrIsP3gYG07dzy5NkmLFGIbB8iFh1HRKUIGXAyGDhsm7fdPsvkcUCOKUw2Wds/UHlsP3zYFehvg3EA4gKgZUrbO9LnFnk5+sV3to5p95QKw9BogotcEHpkZ3RaNaJTzCRl8vyDDFiEej+9sYl1/9ixAouL2AG7s+TU32YMOKWKtXC9Nxq5GD69+dkrj4/I4qvMLNhQkDNUdxJ+8vxxRN33PyMTer3o6Oz5+548o9w4D6eHKmAFpTgFIai7NOteSWN+zELMaBKRRaXNbd+EBO493uDZJlYXFff/EGzagHFV3gCFxL64EIwY8LE5VffYqSOf682NbtJKidsRw/f3w+PtpiKalcsuvabUOACM4e7MJMBUkmKKfj57oq8vCXPfkPZ1RNOwDzyZmuTqxqw/fCbiGLh14f1vqJMkvpN937/eXNnz5wpE6cv2PXo0x8aNXGAgYunWMCoytSyJxxFTztYwhdXyGIPXLAtnP6o+QMSr5Dk/OvdtmgNXrgzgA7e/fQYJNaBdYZvxlwssY4tcP89P1AqwcTqUbJqx+RoZWktPSVBBgYmNbuWax9Rwvfvz3cP7uAFd198/0dM4Kr448v14Ph+f3r+pBpPVR5I+JYtvv4XX/rFE7JYAxdU4LIxYg9c/PUBqT00iN38Vp4BqXU73vz49/fnhWpnLNUrWprCBMQ4C2iIkU395bdEuv7N7inRwNoZe2sBHL5yukW7j01zksQVsgMauP/+XqqyFQGGjGX08ndQq0CNZAYG3oT+K9Qugq82eoXAmjVEAlAljquM/vfvweQoFQYGnqDaw79IaC3QK3B/PF/kwMfEzOa2+sZ35GKRgUGuccMLqobtm22thbOOviJVG2YljlrOavgGWWKr38gMXHLb1FgCF2INq2PGlq//4JXmOj9JNi7RpOPvqFjmfju3ogqtwUhZ4P77cHsOpDT4BS4fpNRyTrz8RWQ7F9ww4EYLXKxNCEoC982yPB1GRoPJh97BnXKo34uFUSKl/9xvvPU4KWUusClenTvhImoyeXb3/lciA1eJF83kfx/uLA3UMkCUs6Dw9dS2q7/w+hdxnQii2rkUBS4kIyD1ev+9vzbFRpTXJnrBkx//qFQa/Hl8oq8QvSkOLCJa9xNVtAHLXBvU7jJGyBIIX+w9NGDXUY7HHakC+HZ8qq8kZWUCSuB+vNShzsKoaNP/HOTzf19e7ClwUqRqyP6HDNBhJnOk3AfyFTt0aAaUoIA99/IJ24Gtd2AfZHGhs3XYgme/kWvg6x1+NtjbBqDw9fHO3/H1H3qVyICl/wkSh40t/HlyeoqXmgG5w0PYAvfrow2pjoq8Uj5di5ZMa023UDHLn7D/DfVCFt7dwgDIXkUO3G8Xt5VDxs8YGDjNg6sWbscyPvL350+caf7fr5+//uEaAEILYuThOmCHcN72238p9jIDWsVw7dieHTt27Np35vlnGvXKRhAYHSwfDdzRwB0Fo4E7GrijgTsKRgN3wAAAigWzJcd+7ysAAAAASUVORK5CYII=\"},{\"partUri\":\"/media/image3.png\",\"contentType\":\"image/png\",\"content\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAAzCAIAAAAl/B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zIa0nsUfVYtOhq2h6vd+8etJPY+DPXjl0Nrtp+6C3ECkuXsZyUX9TzAvnD9/vri42OhDIAUqlWqckLd+etOeuIqZXnn2C/qH6TflvbyQJRDkhfYTeqRzJkHTHL2mUKy6IYNhAy2Mzi7lhW6OzWgaGc7fOp84f/kj9T+F5ger8pKivzzG+SYht+QmjNEL4Mjs4uJiWJPRtgMp+Pn5mZOW/caQTz/+JBs0VI2yMHgxxWw/m0UA7TsTSatDw0MO35c80lcU9QJEBKmhstJpisFgMJnMqKgoQMHV1RX9ggBIgcvlGmVcLtsdXOnoEV0/MD6x22b72czbg54sgfA8fe9ludYwIL9BICzEPiPP/BxhyAgOhzOdFDQ1kZ40CFrGLZAaUrfm5BYiwXw/m7EXDGRpTuFXhzX68aTt6MYFNpRtgtvjVqcw8SqltrZ2KinopQWhLKVPXRv/MyLzqTojLyhLE9eDg/POpAYENZ686pcitlDNPeZkHRERAVbm7u4O6sKcFGBhThAJtb7xu/el5ejJuTl+p7qsdcwyi+xKZixCNR1tV/4eW/14ohpqqmqWWZ0CeHgajQZAhIaG2tnZmUhBYtQOQFtyJJLfOXChPDXq6OkbFjGDgSyqHTwYT5L5fyaGHSjpUlmdgqFlTKSrkRQM0nowyUwOkQSI6PRRfKncMulqaAfkgNgyDWqIBIuxfymAVy5F/oOKMASdTge/aioFHaLo6+zolioQ1IuZprLCykaxBQdHWCHt7OgaVGhQLwvaSgRlbRILFZwOwURBLBaDE5S/v7/uWQwE6cb63lEkEj0V/yzMIMYk+fh/U7N4B41TwCngFHAKOIX/QfwLcT+gnQlJtB0AAAAASUVORK5CYII=\"}]}"},{"id":44005,"title":"Probability of red tulips","description":"I hope to give you bulbs of tulip. But I do not know the color of those petals. I just know that the color is red, white or yellow.\r\n\r\nInput (x): Number of bulbs\r\n\r\nOutput (y): Probability that ALL are RED tulips\r\n","description_html":"\u003cp\u003eI hope to give you bulbs of tulip. But I do not know the color of those petals. I just know that the color is red, white or yellow.\u003c/p\u003e\u003cp\u003eInput (x): Number of bulbs\u003c/p\u003e\u003cp\u003eOutput (y): Probability that ALL are RED tulips\u003c/p\u003e","function_template":"function y = red_tulip(x)\r\n  y = 1/3;\r\nend","test_suite":"%%\r\nx = 1;\r\ny_correct = 1/3;\r\nassert(isequal(red_tulip(x),y_correct))\r\n\r\n%%\r\nx = 3;\r\ny_correct = (1/3)^3;\r\nassert(isequal(red_tulip(x),y_correct))\r\n\r\n%%\r\nx = 10;\r\ny_correct = (1/3)^10;\r\nassert(isequal(red_tulip(x),y_correct))","published":true,"deleted":false,"likes_count":0,"comments_count":1,"created_by":102298,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":80,"test_suite_updated_at":"2017-07-07T16:39:42.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2017-01-16T07:35:21.000Z","updated_at":"2025-12-16T06:35:21.000Z","published_at":"2017-07-07T16:39:42.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eI hope to give you bulbs of tulip. But I do not know the color of those petals. I just know that the color is red, white or yellow.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eInput (x): Number of bulbs\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eOutput (y): Probability that ALL are RED tulips\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":43115,"title":"Annoying population","description":"Every year the number of annoying persons in the office triples\r\nFound the population, given a(0) and t","description_html":"\u003cp\u003eEvery year the number of annoying persons in the office triples\r\nFound the population, given a(0) and t\u003c/p\u003e","function_template":"function y = findAnnoyingPopulation(x,y)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = 4;\r\ny = 3;\r\ny_correct = 108;\r\nassert(isequal(findAnnoyingPopulation(x,y),y_correct))\r\n%%\r\nx = 6;\r\ny = 2;\r\ny_correct = 54;\r\nassert(isequal(findAnnoyingPopulation(x,y),y_correct))\r\n%%\r\nx = 7;\r\ny = 5;\r\ny_correct = 1701;\r\nassert(isequal(findAnnoyingPopulation(x,y),y_correct))","published":true,"deleted":false,"likes_count":8,"comments_count":1,"created_by":13865,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":87,"test_suite_updated_at":"2016-10-29T17:03:44.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2016-10-06T08:51:48.000Z","updated_at":"2026-03-02T14:07:14.000Z","published_at":"2016-10-06T08:51:48.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eEvery year the number of annoying persons in the office triples Found the population, given a(0) and t\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":1926,"title":"Unit Matrix","description":"Given n, you should return an n-by-n unit matrix.\r\nExample:\r\nIf input is n=2 then\r\n A = [ 1 0 \r\n       0 1 ]\r\nIf input is n=4 then\r\n A = [ 1 0 0 0\r\n       0 1 0 0\r\n       0 0 1 0 \r\n       0 0 0 1 ]","description_html":"\u003cdiv style = \"text-align: start; line-height: 20.4333px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, monospace; font-style: normal; font-size: 14px; font-weight: 400; text-decoration: rgb(0, 0, 0); white-space: normal; \"\u003e\u003cdiv style=\"block-size: 254.6px; display: block; min-width: 0px; padding-block-start: 0px; padding-top: 0px; perspective-origin: 407px 127.3px; transform-origin: 407px 127.3px; vertical-align: baseline; \"\u003e\u003cdiv style=\"block-size: 21px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 10.5px; text-align: left; transform-origin: 384px 10.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 152.5px 8px; transform-origin: 152.5px 8px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eGiven n, you should return an n-by-n unit matrix.\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 21px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 10.5px; text-align: left; transform-origin: 384px 10.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 28.5px 8px; transform-origin: 28.5px 8px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eExample:\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 21px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 10.5px; text-align: left; transform-origin: 384px 10.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 58px 8px; transform-origin: 58px 8px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eIf input is n=2 then\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"background-color: rgb(247, 247, 247); block-size: 40.8667px; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-end-end-radius: 4px; border-end-start-radius: 4px; border-start-end-radius: 4px; border-start-start-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; margin-block-end: 10px; margin-block-start: 10px; margin-bottom: 10px; margin-inline-end: 3px; margin-inline-start: 3px; margin-left: 3px; margin-right: 3px; margin-top: 10px; perspective-origin: 404px 20.4333px; transform-origin: 404px 20.4333px; margin-left: 3px; margin-top: 10px; margin-bottom: 10px; margin-right: 3px; \"\u003e\u003cdiv style=\"background-color: rgba(0, 0, 0, 0); block-size: 20.4333px; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-end-end-radius: 0px; border-end-start-radius: 0px; border-inline-end-color: rgb(233, 233, 233); border-inline-end-style: solid; border-inline-end-width: 1px; border-inline-start-color: rgb(233, 233, 233); border-inline-start-style: solid; border-inline-start-width: 1px; border-left-color: rgb(233, 233, 233); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(233, 233, 233); border-right-style: solid; border-right-width: 1px; border-start-end-radius: 0px; border-start-start-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; min-block-size: 18px; min-height: 18px; padding-inline-start: 4px; padding-left: 4px; perspective-origin: 404px 10.2167px; transform-origin: 404px 10.2167px; white-space: nowrap; \"\u003e\u003cspan style=\"block-size: auto; border-inline-end-color: rgb(0, 0, 0); border-inline-end-style: none; border-inline-end-width: 0px; border-inline-start-color: rgb(0, 0, 0); border-inline-start-style: none; border-inline-start-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; display: inline; margin-inline-end: 45px; margin-right: 45px; min-block-size: 0px; min-height: 0px; padding-inline-start: 0px; padding-left: 0px; perspective-origin: 44px 8.5px; tab-size: 4; transform-origin: 44px 8.5px; unicode-bidi: normal; white-space: pre; margin-right: 45px; \"\u003e\u003cspan style=\"margin-inline-end: 0px; margin-right: 0px; \"\u003e A = [ 1 0 \u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"background-color: rgba(0, 0, 0, 0); block-size: 20.4333px; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-end-end-radius: 0px; border-end-start-radius: 0px; border-inline-end-color: rgb(233, 233, 233); border-inline-end-style: solid; border-inline-end-width: 1px; border-inline-start-color: rgb(233, 233, 233); border-inline-start-style: solid; border-inline-start-width: 1px; border-left-color: rgb(233, 233, 233); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(233, 233, 233); border-right-style: solid; border-right-width: 1px; border-start-end-radius: 0px; border-start-start-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; min-block-size: 18px; min-height: 18px; padding-inline-start: 4px; padding-left: 4px; perspective-origin: 404px 10.2167px; transform-origin: 404px 10.2167px; white-space: nowrap; \"\u003e\u003cspan style=\"block-size: auto; border-inline-end-color: rgb(0, 0, 0); border-inline-end-style: none; border-inline-end-width: 0px; border-inline-start-color: rgb(0, 0, 0); border-inline-start-style: none; border-inline-start-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; display: inline; margin-inline-end: 45px; margin-right: 45px; min-block-size: 0px; min-height: 0px; padding-inline-start: 0px; padding-left: 0px; perspective-origin: 48px 8.5px; tab-size: 4; transform-origin: 48px 8.5px; unicode-bidi: normal; white-space: pre; margin-right: 45px; \"\u003e\u003cspan style=\"margin-inline-end: 0px; margin-right: 0px; \"\u003e       0 1 ]\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 21px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 10px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 10px; perspective-origin: 384px 10.5px; text-align: left; transform-origin: 384px 10.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 10px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 58px 8px; transform-origin: 58px 8px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eIf input is n=4 then\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"background-color: rgb(247, 247, 247); block-size: 81.7333px; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-end-end-radius: 4px; border-end-start-radius: 4px; border-start-end-radius: 4px; border-start-start-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; margin-block-end: 10px; margin-block-start: 10px; margin-bottom: 10px; margin-inline-end: 3px; margin-inline-start: 3px; margin-left: 3px; margin-right: 3px; margin-top: 10px; perspective-origin: 404px 40.8667px; transform-origin: 404px 40.8667px; margin-left: 3px; margin-top: 10px; margin-bottom: 10px; margin-right: 3px; \"\u003e\u003cdiv style=\"background-color: rgba(0, 0, 0, 0); block-size: 20.4333px; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-end-end-radius: 0px; border-end-start-radius: 0px; border-inline-end-color: rgb(233, 233, 233); border-inline-end-style: solid; border-inline-end-width: 1px; border-inline-start-color: rgb(233, 233, 233); border-inline-start-style: solid; border-inline-start-width: 1px; border-left-color: rgb(233, 233, 233); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(233, 233, 233); border-right-style: solid; border-right-width: 1px; border-start-end-radius: 0px; border-start-start-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; min-block-size: 18px; min-height: 18px; padding-inline-start: 4px; padding-left: 4px; perspective-origin: 404px 10.2167px; transform-origin: 404px 10.2167px; white-space: nowrap; \"\u003e\u003cspan style=\"block-size: auto; border-inline-end-color: rgb(0, 0, 0); border-inline-end-style: none; border-inline-end-width: 0px; border-inline-start-color: rgb(0, 0, 0); border-inline-start-style: none; border-inline-start-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; display: inline; margin-inline-end: 45px; margin-right: 45px; min-block-size: 0px; min-height: 0px; padding-inline-start: 0px; padding-left: 0px; perspective-origin: 56px 8.5px; tab-size: 4; transform-origin: 56px 8.5px; unicode-bidi: normal; white-space: pre; margin-right: 45px; \"\u003e\u003cspan style=\"margin-inline-end: 0px; margin-right: 0px; \"\u003e A = [ 1 0 0 0\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"background-color: rgba(0, 0, 0, 0); block-size: 20.4333px; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-end-end-radius: 0px; border-end-start-radius: 0px; border-inline-end-color: rgb(233, 233, 233); border-inline-end-style: solid; border-inline-end-width: 1px; border-inline-start-color: rgb(233, 233, 233); border-inline-start-style: solid; border-inline-start-width: 1px; border-left-color: rgb(233, 233, 233); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(233, 233, 233); border-right-style: solid; border-right-width: 1px; border-start-end-radius: 0px; border-start-start-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; min-block-size: 18px; min-height: 18px; padding-inline-start: 4px; padding-left: 4px; perspective-origin: 404px 10.2167px; transform-origin: 404px 10.2167px; white-space: nowrap; \"\u003e\u003cspan style=\"block-size: auto; border-inline-end-color: rgb(0, 0, 0); border-inline-end-style: none; border-inline-end-width: 0px; border-inline-start-color: rgb(0, 0, 0); border-inline-start-style: none; border-inline-start-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; display: inline; margin-inline-end: 45px; margin-right: 45px; min-block-size: 0px; min-height: 0px; padding-inline-start: 0px; padding-left: 0px; perspective-origin: 56px 8.5px; tab-size: 4; transform-origin: 56px 8.5px; unicode-bidi: normal; white-space: pre; margin-right: 45px; \"\u003e\u003cspan style=\"margin-inline-end: 0px; margin-right: 0px; \"\u003e       0 1 0 0\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"background-color: rgba(0, 0, 0, 0); block-size: 20.4333px; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-end-end-radius: 0px; border-end-start-radius: 0px; border-inline-end-color: rgb(233, 233, 233); border-inline-end-style: solid; border-inline-end-width: 1px; border-inline-start-color: rgb(233, 233, 233); border-inline-start-style: solid; border-inline-start-width: 1px; border-left-color: rgb(233, 233, 233); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(233, 233, 233); border-right-style: solid; border-right-width: 1px; border-start-end-radius: 0px; border-start-start-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; min-block-size: 18px; min-height: 18px; padding-inline-start: 4px; padding-left: 4px; perspective-origin: 404px 10.2167px; transform-origin: 404px 10.2167px; white-space: nowrap; \"\u003e\u003cspan style=\"block-size: auto; border-inline-end-color: rgb(0, 0, 0); border-inline-end-style: none; border-inline-end-width: 0px; border-inline-start-color: rgb(0, 0, 0); border-inline-start-style: none; border-inline-start-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; display: inline; margin-inline-end: 45px; margin-right: 45px; min-block-size: 0px; min-height: 0px; padding-inline-start: 0px; padding-left: 0px; perspective-origin: 60px 8.5px; tab-size: 4; transform-origin: 60px 8.5px; unicode-bidi: normal; white-space: pre; margin-right: 45px; \"\u003e\u003cspan style=\"margin-inline-end: 0px; margin-right: 0px; \"\u003e       0 0 1 0 \u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"background-color: rgba(0, 0, 0, 0); block-size: 20.4333px; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-end-end-radius: 0px; border-end-start-radius: 0px; border-inline-end-color: rgb(233, 233, 233); border-inline-end-style: solid; border-inline-end-width: 1px; border-inline-start-color: rgb(233, 233, 233); border-inline-start-style: solid; border-inline-start-width: 1px; border-left-color: rgb(233, 233, 233); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(233, 233, 233); border-right-style: solid; border-right-width: 1px; border-start-end-radius: 0px; border-start-start-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; min-block-size: 18px; min-height: 18px; padding-inline-start: 4px; padding-left: 4px; perspective-origin: 404px 10.2167px; transform-origin: 404px 10.2167px; white-space: nowrap; \"\u003e\u003cspan style=\"block-size: auto; border-inline-end-color: rgb(0, 0, 0); border-inline-end-style: none; border-inline-end-width: 0px; border-inline-start-color: rgb(0, 0, 0); border-inline-start-style: none; border-inline-start-width: 0px; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; display: inline; margin-inline-end: 45px; margin-right: 45px; min-block-size: 0px; min-height: 0px; padding-inline-start: 0px; padding-left: 0px; perspective-origin: 64px 8.5px; tab-size: 4; transform-origin: 64px 8.5px; unicode-bidi: normal; white-space: pre; margin-right: 45px; \"\u003e\u003cspan style=\"margin-inline-end: 0px; margin-right: 0px; \"\u003e       0 0 0 1 ]\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e","function_template":"function y = your_fcn_name(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = 2;\r\ny_correct = [1 0;0 1];\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n\r\n%%\r\nx = 3;\r\ny_correct = [1 0 0;0 1 0; 0 0 1];\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":1,"comments_count":0,"created_by":18257,"edited_by":223089,"edited_at":"2022-10-31T04:49:45.000Z","deleted_by":null,"deleted_at":null,"solvers_count":512,"test_suite_updated_at":"2022-10-31T04:49:45.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2013-10-09T18:48:08.000Z","updated_at":"2026-02-09T16:23:54.000Z","published_at":"2013-10-09T18:48:08.000Z","restored_at":null,"restored_by":null,"spam":null,"simulink":false,"admin_reviewed":false,"description_opc":"{\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eGiven n, you should return an n-by-n unit matrix.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eExample:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eIf input is n=2 then\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"code\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c![CDATA[ A = [ 1 0 \\n       0 1 ]]]\u003e\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eIf input is n=4 then\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"code\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c![CDATA[ A = [ 1 0 0 0\\n       0 1 0 0\\n       0 0 1 0 \\n       0 0 0 1 ]]]\u003e\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\",\"relationship\":null}],\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"target\":\"/matlab/document.xml\",\"relationshipId\":\"rId1\"}]}"},{"id":2971,"title":"square a vector-Given the variable x as your input, square it and put the result in y.","description":"function y = (x)squared\r\n \r\n y = x;\r\nend","description_html":"\u003cp\u003efunction y = (x)squared\u003c/p\u003e\u003cpre\u003e y = x;\r\nend\u003c/pre\u003e","function_template":"function y = (x)squared\r\n  y = x;\r\nend","test_suite":"%%\r\nx = 1;\r\ny_correct = 1;\r\nassert(isequal((x)^2,y_correct))\r\n","published":true,"deleted":false,"likes_count":0,"comments_count":1,"created_by":33779,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":112,"test_suite_updated_at":"2015-02-07T00:41:05.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2015-02-07T00:34:32.000Z","updated_at":"2026-02-19T14:25:21.000Z","published_at":"2015-02-07T00:36:37.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003efunction y = (x)squared\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"code\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c![CDATA[ y = x;\\nend]]\u003e\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":43174,"title":"Change string to number","description":"Change given string to number. (hint: there is already function)\r\n\r\nChanging from ['1234'] to [1234] is one of example","description_html":"\u003cp\u003eChange given string to number. (hint: there is already function)\u003c/p\u003e\u003cp\u003eChanging from ['1234'] to [1234] is one of example\u003c/p\u003e","function_template":"function y = your_fcn_name(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nx = '1';\r\ny_correct = 1;\r\nassert(isequal(your_fcn_name(x),y_correct))\r\n","published":true,"deleted":false,"likes_count":5,"comments_count":0,"created_by":33533,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":229,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2016-10-07T18:22:17.000Z","updated_at":"2026-04-05T19:38:24.000Z","published_at":"2016-10-07T18:22:17.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eChange given string to number. (hint: there is already function)\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eChanging from ['1234'] to [1234] is one of example\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"},{"id":1793,"title":"02 - Vector Variables 3","description":"Make the following variable:\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_2c.png\u003e\u003e\r\n\r\n(all the numbers from 5 to -5 in increments of -0.2)","description_html":"\u003cp\u003eMake the following variable:\u003c/p\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_2c.png\"\u003e\u003cp\u003e(all the numbers from 5 to -5 in increments of -0.2)\u003c/p\u003e","function_template":"function cVec = VectorFunc()\r\n  *Insert code here\r\nend","test_suite":"%%\r\ncVec = 5:-.2:-5;\r\nc = VectorFunc();\r\nassert(isequal(c,cVec))\r\n","published":true,"deleted":false,"likes_count":3,"comments_count":0,"created_by":15468,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":673,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2013-08-13T13:32:53.000Z","updated_at":"2026-03-01T17:36:51.000Z","published_at":"2013-08-13T13:32:53.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/media/image1.png\"}],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eMake the following variable:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId1\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e(all the numbers from 5 to -5 in increments of -0.2)\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"},{\"partUri\":\"/media/image1.png\",\"contentType\":\"image/png\",\"content\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARsAAAAoCAIAAABB1snBAAAI/0lEQVR42u2ce1hT5x3Hz4kERtRCYQ60zTObWVQYLeKUWVCohTilaFt4vBTqGLMaFAQn6rNa1ha7hd6MSJmdfSwq0Dil+hQHBJhDqyh4q6g1ysWy4rjEgGACkoQcdk5OkuZGch44Byz8vv8RTs55z/v7fd7f5X0BGQCBQPQJgSkAgYAoEAiIAoGAKBAIBESBQEAUCAREPW7qvJwxfQLKnvzr6D8IEhP/dPgbGRgYNHxpus8LkxMTE+PD/T0RxHXF21Xjiih2REq5CrwARL+w1tPbvFnjjijihbVgfRCTDgZEgUBAFK1EkSUW8qO80/KaaM4J+r97l891xHPv9bLstaFe5CB4wUknasZJsdd7ISdq6qy369T2LlI0lgs3hTrrJseJE/yXgzUKbCQHqZRkLDBxEoTNWXmqXcMoUfKS3atnuE3QPc49KFJgUv3LS/euX/isB4KwpvnF5I5GV2Bwoixnaooj0w7NY5xR+xGy96o4gTsp9LMqmY7AxrwtYRzOkqPSnjHP08O6nPluLPvTrmgseNln2qr0Sh1FvbUlO+a6/TxBVDtiGQfWX5P8vJuJm1hak6EYpfdO9+nbbqls/MrFI6b4bt9jFaNU949E+iVdlGuY9hhrG1gZzMP0AutPxmZFT0TvqY4WMsJ5zC+w/oRR9d85Eh8uKLITFRkiCmsuFriiiMsTCdUPzTxB0y2JneG19oPLmlGy3CBEETP1CpNei3vMe8tW7Ny53H6Msh4euSgGROd1Y2MYKDx6r17z57SXPOzFKHIqrImyyLuYVHP2miX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0gbY+DMwPolu91w7HTUbHE1HKxuPbNiYaBP+vD0SPDP+vj9Smj4/dHi9EgUCjLiAKBAKiQCAgCgQCokAgEBAFAgFRIBAQBQKBLPV/b3ejuUFbY/oAAAAASUVORK5CYII=\"}]}"},{"id":44308,"title":"Component area","description":"Find the area of the component below, all measurements are in mm\r\n\r\n\u003c\u003chttps://image.ibb.co/hocruF/Component.png\u003e\u003e","description_html":"\u003cp\u003eFind the area of the component below, all measurements are in mm\u003c/p\u003e\u003cimg src = \"https://image.ibb.co/hocruF/Component.png\"\u003e","function_template":"function A = your_fcn_name(h,w,r)\r\n A = h,w,r;\r\nend","test_suite":"%%\r\nh = 50;\r\nw = 20;\r\nr = 12;\r\nA_correct = (h*w)-((pi*r^2)/2);\r\nassert(isequal(your_fcn_name(h,w,r),A_correct))\r\n","published":true,"deleted":false,"likes_count":2,"comments_count":1,"created_by":137065,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":87,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2017-09-10T12:15:22.000Z","updated_at":"2026-02-16T12:23:27.000Z","published_at":"2017-09-10T12:15:43.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/media/image1.png\"}],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eFind the area of the component below, all measurements are in mm\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId1\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"},{\"partUri\":\"/media/image1.png\",\"contentType\":\"image/png\",\"content\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAe8AAAEECAYAAAABCryMAABJUklEQVR42u19B7RU1fl9mg0bFlCwgjQ7RBIDRBQhaMCoUbErYsOAqKARQUEjaFQUDUYEpSg27F1RwN6QqIAFsUBQUREpAunJ7/z/+yT7ru9+c+fxeLz3Zt7M3mu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ohfplrXepd7QvfpRhFSxqQnpZriE/8J98zHkltTgzUzcH/z5s1jHnPcX6jGGap2xRVXJCFnTNICiMBF3oIgiLwzyRtSYK9evZKwKRIGnKYgAX711VcxzhtkjuP23XffHDsvpe4xY8YkIU4+Q1ipZAzjYgThXNtuu22KoO1ip0ePHuG4444L06ZNi8d+8803YenSpfE+WGc03G+bHhX3cvny5eq4Im9BEETeFUveTFxi030SthgJJGrUxX7jjTdiXPXMmTNjMRAQ+tVXX50qvsFzKpPXvK6BmoWbb7455lxH7nRI1Lgvr7zySpgzZ05K45AlQdvFzLBhw1KLIJY8ld1b5C0IQpnC5ybH+4YNG6ZU36gqxvSgClGqfaCqmA0Xg6Qu8hZ5C4JQxvAlLkEIm2yySUrdi/SoWYQv1A4geVsnQEregshbEARJ4In0zfzkdEBDtjCWp1QpytqHtXlDAmfec6VIFXkLglCmAAlY6Rv21x133DGV4hS5zYlStFEXO4YMGZIkb4Gz25IlS6T9EHkLgiD8V/Jmda/NN988kgVDvCB58xih9gFnN5ttzS6kBJG3IAhlKnl71K9fP5W//De/+U2iNge8nVyoWcDmbRPeMD2qIPIWBKHMpW4CxPz5558nVb6QmGXx4sWSvAsIhN+hqtmnn34aq6ExtEySt8hbEARBEETegiAIgiCIvAVBEARBEHkLgiAIgshbEARBEASRtyAIgiAIIm9BEARBEHkLgiAIgiDyFgRBEARB5C0IgiAIIm9BEARBEETegiAIgiCIvAVBEARB5C0IgiAIgshbEARBEIRqxP8D4/IP1bSEBTgAAAAASUVORK5CYII=\"}]}"},{"id":1817,"title":"07 - Common functions and indexing 2","description":"Define _eMat_:\r\n\r\n\u003c\u003chttp://samle.dk/STTBDP/Assignment1_3e.png\u003e\u003e\r\n\r\nCalculate eMean as the mean across the rows of _eMat_. The answer should be a column vector.","description_html":"\u003cp\u003eDefine \u003ci\u003eeMat\u003c/i\u003e:\u003c/p\u003e\u003cimg src = \"http://samle.dk/STTBDP/Assignment1_3e.png\"\u003e\u003cp\u003eCalculate eMean as the mean across the rows of \u003ci\u003eeMat\u003c/i\u003e. The answer should be a column vector.\u003c/p\u003e","function_template":"function [eMean eMat] = MyFunc()\r\n  *Insert code here\r\nend","test_suite":"%%\r\neMat = [13 -1 5;-22 10 -87];\r\nRef = mean(eMat,2);\r\nuser = MyFunc();\r\nassert(isequal(Ref,user))\r\n\r\n%%\r\nRef = [13 -1 5;-22 10 -87];\r\n[eMean Mat] = MyFunc();\r\nassert(isequal(Ref,Mat))","published":true,"deleted":false,"likes_count":3,"comments_count":0,"created_by":15468,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":423,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2013-08-14T10:38:19.000Z","updated_at":"2026-02-27T14:10:16.000Z","published_at":"2013-08-14T10:38:19.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/image\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/media/image1.png\"}],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eDefine\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:rPr\u003e\u003cw:i/\u003e\u003c/w:rPr\u003e\u003cw:t\u003eeMat\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e:\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"image\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"height\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"width\\\" w:val=\\\"-1\\\"/\u003e\u003cw:attr w:name=\\\"relationshipId\\\" w:val=\\\"rId1\\\"/\u003e\u003c/w:customXmlPr\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eCalculate eMean as the mean across the rows of\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:rPr\u003e\u003cw:i/\u003e\u003c/w:rPr\u003e\u003cw:t\u003eeMat\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e. The answer should be a column vector.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"},{\"partUri\":\"/media/image1.png\",\"contentType\":\"image/png\",\"content\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOUAAABLCAIAAAAAvdffAAALj0lEQVR42u2de1wTVxbHJzFijVpowQIfRQWUWqi6aMVtEbVWQBd3cdH1AWqVtRpfsXat7C5akVbxsRp5bXf56KpVgVLqA8tD+KhQRUV80lILEkkFETAEMREJSYadR0ImT8BMEpDz+0snQO7MfOfcc8499wzSBgL1HCFwCUDAKwgEvIKAV7gEIOAVBAJeQcArXAIQ8AoCAa8g4BUuAQh47UZSSPNCnVmIppjMGenlLXD7ravaPC6boXVnENfJvMdo7+Y1zI1z6wUKfHR/Pecn+vkBr13mtbkk92Bs7JZZHsM3HRPofCqvLj66dKojZgwYDI8VURk1MuufppifmxDL2zTf83dzjzVZ8NkU3Yge0UdtJBkMz5isGuDVkrxKcnas2Lx/F0Gkkw6vckFuTMSBQjHa1tpY9OUCLwTpP52TIbaq+W688a8lq2N2rJ1qgyCW5bUumetNnc0Hj95S3gr21Qr+gCQn+n1dXltF+UknShWq/0qfpAbaM/uy55+vs76NJU2dJXnFTj/Ia911IW3nDrzSzKuYf+teg/r2oPKi9eNsGYzxSdee9T5em68m/nnOlkIF+K/dllctkbyOmsar7gYurIV5Jc8d8wHcfDkHYlNKG2TAazfnFfNlN7q7L8kpf94dztSyvOLnPoSJUCItj7WEWw+8dk9em+9mRUywNSkc7un+K+7QNxYfjtsya9RA05MDwKu5eEXl5fGLvVSWxT54XXqNrJfyqpIwLyEMM7eQH+jO/oAwPyWKMC324by7CtqHjkoe8SuMiV9LPS2r8qq8YiaGnsCreeMtTM/KE31smSbaFUPZokB7JmJYWnk0a/NKDqDjKwa8WpPXtraq+EUjzMFrj/IHlA/YTHuwrz2BVytS0q3sq9sgk5ZO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p4xZMt/TQnVnL+tXA/TV1eVas/NWeT87WMfYcNNYBX03lt/ul8gWYASC7CKXkV83+8orlFluwjZGZecdumU6Wp96D5RFYmUXsS4ubTsE+CXzdno5cFeDXHfhiSV4OtNEhezeoP6LNtbbR0XOu6/8rEQj3CWcJbEPjP4xluXNyBMwC8mpFXI3bC9DZSHfJqwIR3vocSbZei6toOogvBIDe3Scb7FXfmsgCv9OdfMdvGHe//n8J6w7OkvypkfuV5baOWjti5GWk1jv/YgAEd+CqQzzLOq7yptrJL1V7ESyYWrjDcJQqbIgMCaH6dgeV51Vnx0ZZqkQjPlnhP4z2ov0a82skIsvjYOvSRgFfjvJJl5p2v9sKmv/0btxu0na2iS5Fr9vzUQHO40yVe6fBf1SbTkIjB4B27hvZp/zphZrS/jWZmWjOZMKLDBwl4pdMfEPNTudzjhhaLUXn5159GmOPdG4byAzq8WjQ/QMZ8GtXM8tKoAGe9D0wnW20Cr7Tx2irK4ixK0LQczQ8qHqkcg7qUz1ZqrWlJBBW1MjPxav38q7535RlySDrlDACvtPGqb6KXVxXF7Ushb4wwa8fGJM0IDPuV7du+pwUdw+tbQ6j9VmnPS3Qk3JxrWlP9Br6TzgDwSg+vmm+D0X19gJ7qAr07HV7amzTQ2BU/3l4/QLzMdqxl6weUySz3yduIJ1lZP6CbG+l8323g1XReddvBavRYNVTVQYsf2VFjV3XVGKV1sCUlry5O2TTfE9FXn0W9gJ1c7QNeof61Jwl4BV6BV+AVBLwCryDgFXgFXoFXEPBqPl5DnVlaySbNVrUg64jssaIlfW8V6E28gl4lAa8g4BUEAl5BIOAVBLyCQMArCAS8gnqS/g+84HIYNkbRxgAAAABJRU5ErkJggg==\"}]}"},{"id":44271,"title":"0\u003c=x\u003c=pi?","description":"Check whether the given angle is between zero and pi.\r\nReturn logical true or false.","description_html":"\u003cp\u003eCheck whether the given angle is between zero and pi.\r\nReturn logical true or false.\u003c/p\u003e","function_template":"function y = ang(x)\r\n  y = (x==pi/2);\r\nend","test_suite":"%%\r\nx = rand*pi;\r\ny_correct = (200\u003e=100);\r\nassert(isequal(ang(x),y_correct))\r\n%%\r\nx = -rand*pi;\r\ny_correct = (100\u003e=200);\r\nassert(isequal(ang(x),y_correct))\r\n\r\n","published":true,"deleted":false,"likes_count":1,"comments_count":0,"created_by":166,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":140,"test_suite_updated_at":"2017-08-01T23:22:04.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2017-08-01T23:13:05.000Z","updated_at":"2026-02-16T12:15:51.000Z","published_at":"2017-08-01T23:13:38.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eCheck whether the given angle is between zero and pi. Return logical true or false.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"}],"term":"tag:\"poor_test_suite\"","current_player_id":null,"fields":[{"name":"page","type":"integer","callback":null,"default":1,"directive":null,"facet":null,"facet_method":"and","operator":null,"param":null,"static":null,"prepend":true},{"name":"per_page","type":"integer","callback":null,"default":50,"directive":null,"facet":null,"facet_method":"and","operator":null,"param":null,"static":null,"prepend":true},{"name":"sort","type":"string","callback":null,"default":null,"directive":null,"facet":null,"facet_method":"and","operator":null,"param":null,"static":null,"prepend":true},{"name":"body","type":"text","callback":null,"default":"*:*","directive":null,"facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":false},{"name":"group","type":"string","callback":null,"default":null,"directive":"group","facet":true,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"difficulty_rating_bin","type":"string","callback":null,"default":null,"directive":"difficulty_rating_bin","facet":true,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"id","type":"integer","callback":null,"default":null,"directive":"id","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"tag","type":"string","callback":null,"default":null,"directive":"tag","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"product","type":"string","callback":null,"default":null,"directive":"product","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"created_at","type":"timeframe","callback":{},"default":null,"directive":"created_at","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"profile_id","type":"integer","callback":null,"default":null,"directive":"author_id","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"created_by","type":"string","callback":null,"default":null,"directive":"author","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"player_id","type":"integer","callback":null,"default":null,"directive":"solver_id","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"player","type":"string","callback":null,"default":null,"directive":"solver","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"solvers_count","type":"integer","callback":null,"default":null,"directive":"solvers_count","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"comments_count","type":"integer","callback":null,"default":null,"directive":"comments_count","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"likes_count","type":"integer","callback":null,"default":null,"directive":"likes_count","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"leader_id","type":"integer","callback":null,"default":null,"directive":"leader_id","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"leading_solution","type":"integer","callback":null,"default":null,"directive":"leading_solution","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true}],"filters":[{"name":"asset_type","type":"string","callback":null,"default":null,"directive":null,"facet":null,"facet_method":"and","operator":null,"param":null,"static":"\"cody:problem\"","prepend":true},{"name":"profile_id","type":"integer","callback":{},"default":null,"directive":null,"facet":null,"facet_method":"and","operator":null,"param":"author_id","static":null,"prepend":true}],"query":{"params":{"per_page":50,"term":"tag:\"poor_test_suite\"","current_player":null,"sort":"map(difficulty_value,0,0,999) asc"},"parser":"MathWorks::Search::Solr::QueryParser","directives":{"term":{"directives":{"tag":[["tag:\"poor_test_suite\"","","\"","poor_test_suite","\""]]}}},"facets":{"#\u003cMathWorks::Search::Field:0x00007ffbdc383210\u003e":null,"#\u003cMathWorks::Search::Field:0x00007ffbdc383170\u003e":null},"filters":{"#\u003cMathWorks::Search::Field:0x00007ffbdc3828b0\u003e":"\"cody:problem\""},"fields":{"#\u003cMathWorks::Search::Field:0x00007ffbdc383490\u003e":1,"#\u003cMathWorks::Search::Field:0x00007ffbdc3833f0\u003e":50,"#\u003cMathWorks::Search::Field:0x00007ffbdc383350\u003e":"map(difficulty_value,0,0,999) asc","#\u003cMathWorks::Search::Field:0x00007ffbdc3832b0\u003e":"tag:\"poor_test_suite\""},"user_query":{"#\u003cMathWorks::Search::Field:0x00007ffbdc3832b0\u003e":"tag:\"poor_test_suite\""},"queried_facets":{}},"query_backend":{"connection":{"configuration":{"index_url":"http://index-op-v2/solr/","query_url":"http://search-op-v2/solr/","direct_access_index_urls":["http://index-op-v2/solr/"],"direct_access_query_urls":["http://search-op-v2/solr/"],"timeout":10,"vhost":"search","exchange":"search.topic","heartbeat":30,"pre_index_mode":false,"host":"rabbitmq-eks","port":5672,"username":"cody-search","password":"78X075ddcV44","virtual_host":"search","indexer":"amqp","http_logging":"true","core":"cody"},"query_connection":{"uri":"http://search-op-v2/solr/cody/","proxy":null,"connection":{"parallel_manager":null,"headers":{"User-Agent":"Faraday v1.0.1"},"params":{},"options":{"params_encoder":"Faraday::FlatParamsEncoder","proxy":null,"bind":null,"timeout":null,"open_timeout":null,"read_timeout":null,"write_timeout":null,"boundary":null,"oauth":null,"context":null,"on_data":null},"ssl":{"verify":true,"ca_file":null,"ca_path":null,"verify_mode":null,"cert_store":null,"client_cert":null,"client_key":null,"certificate":null,"private_key":null,"verify_depth":null,"version":null,"min_version":null,"max_version":null},"default_parallel_manager":null,"builder":{"adapter":{"name":"Faraday::Adapter::NetHttp","args":[],"block":null},"handlers":[{"name":"Faraday::Response::RaiseError","args":[],"block":null}],"app":{"app":{"ssl_cert_store":{"verify_callback":null,"error":null,"error_string":null,"chain":null,"time":null},"app":{},"connection_options":{},"config_block":null}}},"url_prefix":"http://search-op-v2/solr/cody/","manual_proxy":false,"proxy":null},"update_format":"RSolr::JSON::Generator","update_path":"update","options":{"url":"http://search-op-v2/solr/cody"}}},"query":{"params":{"per_page":50,"term":"tag:\"poor_test_suite\"","current_player":null,"sort":"map(difficulty_value,0,0,999) asc"},"parser":"MathWorks::Search::Solr::QueryParser","directives":{"term":{"directives":{"tag":[["tag:\"poor_test_suite\"","","\"","poor_test_suite","\""]]}}},"facets":{"#\u003cMathWorks::Search::Field:0x00007ffbdc383210\u003e":null,"#\u003cMathWorks::Search::Field:0x00007ffbdc383170\u003e":null},"filters":{"#\u003cMathWorks::Search::Field:0x00007ffbdc3828b0\u003e":"\"cody:problem\""},"fields":{"#\u003cMathWorks::Search::Field:0x00007ffbdc383490\u003e":1,"#\u003cMathWorks::Search::Field:0x00007ffbdc3833f0\u003e":50,"#\u003cMathWorks::Search::Field:0x00007ffbdc383350\u003e":"map(difficulty_value,0,0,999) asc","#\u003cMathWorks::Search::Field:0x00007ffbdc3832b0\u003e":"tag:\"poor_test_suite\""},"user_query":{"#\u003cMathWorks::Search::Field:0x00007ffbdc3832b0\u003e":"tag:\"poor_test_suite\""},"queried_facets":{}},"options":{"fields":["id","difficulty_rating"]},"join":" "},"results":[{"id":44678,"difficulty_rating":"easy"},{"id":44634,"difficulty_rating":"easy"},{"id":1791,"difficulty_rating":"easy"},{"id":47445,"difficulty_rating":"easy"},{"id":45927,"difficulty_rating":"easy"},{"id":45933,"difficulty_rating":"easy"},{"id":43687,"difficulty_rating":"easy"},{"id":50437,"difficulty_rating":"easy"},{"id":43551,"difficulty_rating":"easy"},{"id":44326,"difficulty_rating":"easy"},{"id":45903,"difficulty_rating":"easy"},{"id":43329,"difficulty_rating":"easy"},{"id":43747,"difficulty_rating":"easy"},{"id":43326,"difficulty_rating":"easy"},{"id":2980,"difficulty_rating":"easy"},{"id":44941,"difficulty_rating":"easy"},{"id":45157,"difficulty_rating":"easy"},{"id":1050,"difficulty_rating":"easy"},{"id":47643,"difficulty_rating":"easy"},{"id":47194,"difficulty_rating":"easy"},{"id":43479,"difficulty_rating":"easy"},{"id":2353,"difficulty_rating":"easy"},{"id":1924,"difficulty_rating":"easy"},{"id":1797,"difficulty_rating":"easy"},{"id":1792,"difficulty_rating":"easy"},{"id":1790,"difficulty_rating":"easy"},{"id":44629,"difficulty_rating":"easy"},{"id":44086,"difficulty_rating":"easy"},{"id":43106,"difficulty_rating":"easy"},{"id":48015,"difficulty_rating":"easy"},{"id":42516,"difficulty_rating":"easy"},{"id":43045,"difficulty_rating":"easy"},{"id":43567,"difficulty_rating":"easy"},{"id":2929,"difficulty_rating":"easy"},{"id":42736,"difficulty_rating":"easy"},{"id":1800,"difficulty_rating":"easy"},{"id":44033,"difficulty_rating":"easy"},{"id":46063,"difficulty_rating":"easy"},{"id":42348,"difficulty_rating":"easy"},{"id":43634,"difficulty_rating":"easy"},{"id":1807,"difficulty_rating":"easy"},{"id":44005,"difficulty_rating":"easy"},{"id":43115,"difficulty_rating":"easy"},{"id":1926,"difficulty_rating":"easy"},{"id":2971,"difficulty_rating":"easy"},{"id":43174,"difficulty_rating":"easy"},{"id":1793,"difficulty_rating":"easy"},{"id":44308,"difficulty_rating":"easy"},{"id":1817,"difficulty_rating":"easy"},{"id":44271,"difficulty_rating":"easy"}]}}