{"group":{"id":1,"name":"Community","lockable":false,"created_at":"2012-01-18T18:02:15.000Z","updated_at":"2026-05-26T00:16:20.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-05-26T00: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":859,"title":"Get the elements of diagonal and antidiagonal for any m-by-n matrix ","description":"In the problem \u003chttp://www.mathworks.com/matlabcentral/cody/problems/858-permute-diagonal-and-antidiagonal Problem 858. Permute diagonal and antidiagonal\u003e created by \u003chttp://www.mathworks.com/matlabcentral/cody/players/343082-jean-marie-sainthillier  Jean-Marie SAINTHILLIER\u003e the test suite is only based on squared m-by-m matrix .\r\n\r\nIn this problem you must submit a solution which *returns the diagonal and anti-diagonal elements without using the DIAG function*  for any *m-by-n matrix* \r\n\r\nExample:\r\n\r\nIf the input is a matrix 4*3\r\n\r\n  x =  [ 0     0     0\r\n         1    48    17\r\n         0     2    99\r\n         14    0    3]\r\n\r\nwe expect *2 output vectors*:\r\n\r\n  dg_elements = [0 48 99] % diagonal elements\r\n\r\n  antidg_elements = [14 2 17 ] % anti-diagonal elements\r\n\r\n\r\nNote : You do not have to permute anything. Just return the elements.","description_html":"\u003cp\u003eIn the problem \u003ca href=\"http://www.mathworks.com/matlabcentral/cody/problems/858-permute-diagonal-and-antidiagonal\"\u003eProblem 858. Permute diagonal and antidiagonal\u003c/a\u003e created by \u003ca href=\"http://www.mathworks.com/matlabcentral/cody/players/343082-jean-marie-sainthillier\"\u003eJean-Marie SAINTHILLIER\u003c/a\u003e the test suite is only based on squared m-by-m matrix .\u003c/p\u003e\u003cp\u003eIn this problem you must submit a solution which \u003cb\u003ereturns the diagonal and anti-diagonal elements without using the DIAG function\u003c/b\u003e  for any \u003cb\u003em-by-n matrix\u003c/b\u003e\u003c/p\u003e\u003cp\u003eExample:\u003c/p\u003e\u003cp\u003eIf the input is a matrix 4*3\u003c/p\u003e\u003cpre class=\"language-matlab\"\u003ex =  [ 0     0     0\r\n       1    48    17\r\n       0     2    99\r\n       14    0    3]\r\n\u003c/pre\u003e\u003cp\u003ewe expect \u003cb\u003e2 output vectors\u003c/b\u003e:\u003c/p\u003e\u003cpre class=\"language-matlab\"\u003edg_elements = [0 48 99] % diagonal elements\r\n\u003c/pre\u003e\u003cpre class=\"language-matlab\"\u003eantidg_elements = [14 2 17 ] % anti-diagonal elements\r\n\u003c/pre\u003e\u003cp\u003eNote : You do not have to permute anything. Just return the elements.\u003c/p\u003e","function_template":"function [dg_elements,antidg_elements] = your_fcn_name(x)\r\n  dg_elements = 1 :8\r\n  antidg_elements = 8:-1:1\r\nend","test_suite":"%% no diag\r\nfiletext = fileread('your_fcn_name.m');\r\nassert(isempty(strfind(filetext, 'diag')))\r\n\r\n%%  square m-by-m matrix (1)\r\nx = [10 20 30; 40 50 60; 70 80 90];\r\ndiag_correct =  [10 50 90];\r\nantidiag_correct = [ 70    50    30];\r\n[A,B]= your_fcn_name(x);\r\nassert(isequal(A,diag_correct))\r\nassert(isequal(B,antidiag_correct))\r\n\r\n\r\n%% m-by-n matrix where m \u003e= n (2)\r\nx = [10 20 30; 40 50 60  ; 70 80 90; 100 74 15];\r\ndiag_corrct78 =  [10 50 90];\r\nantidiag_corrct78 = [ 100   80    60];\r\n[A3,B3]= your_fcn_name(x);\r\nassert(isequal(A3,diag_corrct78))\r\nassert(isequal(B3,antidiag_corrct78))\r\n\r\n\r\n%% m-by-n matrix where m \u003c= n (3)\r\nx = [10 20 30 58; 40 50 60 68 ; 70 80 90 98];\r\ndiag_correct7 =  [10 50 90];\r\nantidiag_correct7 = [ 70    50    30];\r\n[A3,B3]= your_fcn_name(x);\r\nassert(isequal(A3,diag_correct7))\r\nassert(isequal(B3,antidiag_correct7))\r\n\r\n%% m-by-n matrix where m \u003e= n (4)\r\nt = [0 0 0; 1 0 0 ; 0  2 0; 0 0 3];\r\ndiag8 =  [0 0 0];\r\nantid7 = [ 0 2 0];\r\n[A3,B3]= your_fcn_name(t);\r\nassert(isequal(A3,diag8))\r\nassert(isequal(B3,antid7))\r\n\r\n\r\n% m-by-n matrix where m \u003c= n (5)\r\nt = [0 1 0 0; 0 0 2 0 ; 0 0 0 3];\r\ndiag8 =  [0 0 0];\r\nantid7 = [ 0 0 0];\r\n[A3,B3]= your_fcn_name(t);\r\nassert(isequal(A3,diag8))\r\nassert(isequal(B3,antid7))","published":true,"deleted":false,"likes_count":11,"comments_count":2,"created_by":639,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":518,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":12,"created_at":"2012-07-24T07:26:53.000Z","updated_at":"2026-05-05T20:48:44.000Z","published_at":"2012-07-24T07:26: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\":[],\"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\u003eIn the problem\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:hyperlink w:docLocation=\\\"http://www.mathworks.com/matlabcentral/cody/problems/858-permute-diagonal-and-antidiagonal\\\"\u003e\u003cw:r\u003e\u003cw:t\u003eProblem 858. Permute diagonal and antidiagonal\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:hyperlink\u003e\u003cw:r\u003e\u003cw:t\u003e created by\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:hyperlink w:docLocation=\\\"http://www.mathworks.com/matlabcentral/cody/players/343082-jean-marie-sainthillier\\\"\u003e\u003cw:r\u003e\u003cw:t\u003eJean-Marie SAINTHILLIER\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:hyperlink\u003e\u003cw:r\u003e\u003cw:t\u003e the test suite is only based on squared m-by-m 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\u003eIn this problem you must submit a solution which\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\u003ereturns the diagonal and anti-diagonal elements without using the DIAG function\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e for any\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\u003em-by-n 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\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 the input is a matrix 4*3\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 =  [ 0     0     0\\n       1    48    17\\n       0     2    99\\n       14    0    3]]]\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\u003ewe expect\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\u003e2 output vectors\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=\\\"code\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c![CDATA[dg_elements = [0 48 99] % diagonal elements\\n\\nantidg_elements = [14 2 17 ] % anti-diagonal elements]]\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\u003eNote : You do not have to permute anything. Just return the elements.\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":{"problems":[{"id":859,"title":"Get the elements of diagonal and antidiagonal for any m-by-n matrix ","description":"In the problem \u003chttp://www.mathworks.com/matlabcentral/cody/problems/858-permute-diagonal-and-antidiagonal Problem 858. Permute diagonal and antidiagonal\u003e created by \u003chttp://www.mathworks.com/matlabcentral/cody/players/343082-jean-marie-sainthillier  Jean-Marie SAINTHILLIER\u003e the test suite is only based on squared m-by-m matrix .\r\n\r\nIn this problem you must submit a solution which *returns the diagonal and anti-diagonal elements without using the DIAG function*  for any *m-by-n matrix* \r\n\r\nExample:\r\n\r\nIf the input is a matrix 4*3\r\n\r\n  x =  [ 0     0     0\r\n         1    48    17\r\n         0     2    99\r\n         14    0    3]\r\n\r\nwe expect *2 output vectors*:\r\n\r\n  dg_elements = [0 48 99] % diagonal elements\r\n\r\n  antidg_elements = [14 2 17 ] % anti-diagonal elements\r\n\r\n\r\nNote : You do not have to permute anything. Just return the elements.","description_html":"\u003cp\u003eIn the problem \u003ca href=\"http://www.mathworks.com/matlabcentral/cody/problems/858-permute-diagonal-and-antidiagonal\"\u003eProblem 858. Permute diagonal and antidiagonal\u003c/a\u003e created by \u003ca href=\"http://www.mathworks.com/matlabcentral/cody/players/343082-jean-marie-sainthillier\"\u003eJean-Marie SAINTHILLIER\u003c/a\u003e the test suite is only based on squared m-by-m matrix .\u003c/p\u003e\u003cp\u003eIn this problem you must submit a solution which \u003cb\u003ereturns the diagonal and anti-diagonal elements without using the DIAG function\u003c/b\u003e  for any \u003cb\u003em-by-n matrix\u003c/b\u003e\u003c/p\u003e\u003cp\u003eExample:\u003c/p\u003e\u003cp\u003eIf the input is a matrix 4*3\u003c/p\u003e\u003cpre class=\"language-matlab\"\u003ex =  [ 0     0     0\r\n       1    48    17\r\n       0     2    99\r\n       14    0    3]\r\n\u003c/pre\u003e\u003cp\u003ewe expect \u003cb\u003e2 output vectors\u003c/b\u003e:\u003c/p\u003e\u003cpre class=\"language-matlab\"\u003edg_elements = [0 48 99] % diagonal elements\r\n\u003c/pre\u003e\u003cpre class=\"language-matlab\"\u003eantidg_elements = [14 2 17 ] % anti-diagonal elements\r\n\u003c/pre\u003e\u003cp\u003eNote : You do not have to permute anything. Just return the elements.\u003c/p\u003e","function_template":"function [dg_elements,antidg_elements] = your_fcn_name(x)\r\n  dg_elements = 1 :8\r\n  antidg_elements = 8:-1:1\r\nend","test_suite":"%% no diag\r\nfiletext = fileread('your_fcn_name.m');\r\nassert(isempty(strfind(filetext, 'diag')))\r\n\r\n%%  square m-by-m matrix (1)\r\nx = [10 20 30; 40 50 60; 70 80 90];\r\ndiag_correct =  [10 50 90];\r\nantidiag_correct = [ 70    50    30];\r\n[A,B]= your_fcn_name(x);\r\nassert(isequal(A,diag_correct))\r\nassert(isequal(B,antidiag_correct))\r\n\r\n\r\n%% m-by-n matrix where m \u003e= n (2)\r\nx = [10 20 30; 40 50 60  ; 70 80 90; 100 74 15];\r\ndiag_corrct78 =  [10 50 90];\r\nantidiag_corrct78 = [ 100   80    60];\r\n[A3,B3]= your_fcn_name(x);\r\nassert(isequal(A3,diag_corrct78))\r\nassert(isequal(B3,antidiag_corrct78))\r\n\r\n\r\n%% m-by-n matrix where m \u003c= n (3)\r\nx = [10 20 30 58; 40 50 60 68 ; 70 80 90 98];\r\ndiag_correct7 =  [10 50 90];\r\nantidiag_correct7 = [ 70    50    30];\r\n[A3,B3]= your_fcn_name(x);\r\nassert(isequal(A3,diag_correct7))\r\nassert(isequal(B3,antidiag_correct7))\r\n\r\n%% m-by-n matrix where m \u003e= n (4)\r\nt = [0 0 0; 1 0 0 ; 0  2 0; 0 0 3];\r\ndiag8 =  [0 0 0];\r\nantid7 = [ 0 2 0];\r\n[A3,B3]= your_fcn_name(t);\r\nassert(isequal(A3,diag8))\r\nassert(isequal(B3,antid7))\r\n\r\n\r\n% m-by-n matrix where m \u003c= n (5)\r\nt = [0 1 0 0; 0 0 2 0 ; 0 0 0 3];\r\ndiag8 =  [0 0 0];\r\nantid7 = [ 0 0 0];\r\n[A3,B3]= your_fcn_name(t);\r\nassert(isequal(A3,diag8))\r\nassert(isequal(B3,antid7))","published":true,"deleted":false,"likes_count":11,"comments_count":2,"created_by":639,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":518,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":12,"created_at":"2012-07-24T07:26:53.000Z","updated_at":"2026-05-05T20:48:44.000Z","published_at":"2012-07-24T07:26: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\":[],\"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\u003eIn the problem\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:hyperlink w:docLocation=\\\"http://www.mathworks.com/matlabcentral/cody/problems/858-permute-diagonal-and-antidiagonal\\\"\u003e\u003cw:r\u003e\u003cw:t\u003eProblem 858. Permute diagonal and antidiagonal\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:hyperlink\u003e\u003cw:r\u003e\u003cw:t\u003e created by\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:hyperlink w:docLocation=\\\"http://www.mathworks.com/matlabcentral/cody/players/343082-jean-marie-sainthillier\\\"\u003e\u003cw:r\u003e\u003cw:t\u003eJean-Marie SAINTHILLIER\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:hyperlink\u003e\u003cw:r\u003e\u003cw:t\u003e the test suite is only based on squared m-by-m 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\u003eIn this problem you must submit a solution which\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\u003ereturns the diagonal and anti-diagonal elements without using the DIAG function\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e for any\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\u003em-by-n 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\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 the input is a matrix 4*3\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 =  [ 0     0     0\\n       1    48    17\\n       0     2    99\\n       14    0    3]]]\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\u003ewe expect\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\u003e2 output vectors\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=\\\"code\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003e\u003c![CDATA[dg_elements = [0 48 99] % diagonal elements\\n\\nantidg_elements = [14 2 17 ] % anti-diagonal elements]]\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\u003eNote : You do not have to permute anything. Just return the elements.\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\"}]}"}],"errors":[],"facets":[[{"value":"Indexing I","count":1,"selected":false}],[{"value":"medium","count":1,"selected":false}]],"term":"tag:\"squared\"","page":1,"per_page":50,"sort":"map(difficulty_value,0,0,999) asc"}}