Problem: Debugging 1. Debug program 'vorder m' (vorder mi) that reorders the input vector by placing the smallest element in the first element and the largest element as the last element of the output array and preserves all the other elements of the input vector. Correct all errors in vorder.m to have a fully functional code. 2. Document code by providing comments and explanation for each line of the code 3. Create additional comment line for each error you find. Please start the additional line describing error with: %E:... Create test script to test the function using vector x from MAT file "vorder.mat (vorder mat) that should be downloaded from Canvas and loaded first in the test script Integrate function vorder at the bottom of the test script and submit only one M file to Canvas. Print the original vector and ordered vector according to the requirements using formatted print . . . ard Problem: Debugging MOZonda 3 M 1. Debut program Vorder (xactietan that reorders the input vector by placing the smallest element in the first element and the largest element as the fost element of the output array and preserves all the other elements of the input vector Correct all errors in vorder to have a fully functional code 2 Document code by providing comments and explanation for each line of the code 3. Create additional comment ne for each error you find. Please start the additional line describine enor with NE 24 Create test script to test the function wing vector from MAT He woede moeder mal that should be downloaded from Canvas and toaded first in the test script Integrate function order at the bottom of the test script and submit only one M file to Carvas Print the original vector and ordered vector according to the requirements using formatted print, elp ERE Problem: Debugging MO7p4.pdf 1. Debug program vorder.m' (vorder.m) that reorders the input vector by placing the smallest element in the first element and the largest element as the last element of the output array and preserves all the other elements of the input vector. Correct all errors in vorder.m to have a fully functional code. 2. Document code by providing comments and explanation for each line of the code 3. Create additional comment line for each error you find. Please start the additional line describing error with: %E:... Create test script to test the function using vector x from MAT file 'vorder.mat" ( vorder mat) that should be downloaded from Canvas and loaded first in the test script. Integrate function vorder at the bottom of the test script and submit only one M file to Canvas. Print the original vector and ordered vector according to the requirements using formatted print. Module 7: Prog 4 Problem: Debugging 1. Debug program 'vorder.m' (vorder.m) that reorders the input vector by placing the smallest element in the first element and the largest element as the last element of the output array and preserves all the other elements of the input vector. Correct all errors in vorder.m to have a fully functional code. 2. Document code by providing comments and explanation for each line of the code 3. Create additional comment line for each error you find. Please start the additional line describing error with: % E: ... . Create test script to test the function using vector x from MAT file 'vorder.mat (vorder.mat) that should be downloaded from Canvas and loaded first in the test script. Integrate function vorder at the bottom of the test script and submit only one M file to Canvas Print the original vector and ordered vector according to the requirements using formatted print. . Problem: Debugging 1. Debug program 'vorder m' (vorder mi) that reorders the input vector by placing the smallest element in the first element and the largest element as the last element of the output array and preserves all the other elements of the input vector. Correct all errors in vorder.m to have a fully functional code. 2. Document code by providing comments and explanation for each line of the code 3. Create additional comment line for each error you find. Please start the additional line describing error with: %E:... Create test script to test the function using vector x from MAT file "vorder.mat (vorder mat) that should be downloaded from Canvas and loaded first in the test script Integrate function vorder at the bottom of the test script and submit only one M file to Canvas. Print the original vector and ordered vector according to the requirements using formatted print . . . ard Problem: Debugging MOZonda 3 M 1. Debut program Vorder (xactietan that reorders the input vector by placing the smallest element in the first element and the largest element as the fost element of the output array and preserves all the other elements of the input vector Correct all errors in vorder to have a fully functional code 2 Document code by providing comments and explanation for each line of the code 3. Create additional comment ne for each error you find. Please start the additional line describine enor with NE 24 Create test script to test the function wing vector from MAT He woede moeder mal that should be downloaded from Canvas and toaded first in the test script Integrate function order at the bottom of the test script and submit only one M file to Carvas Print the original vector and ordered vector according to the requirements using formatted print, elp ERE Problem: Debugging MO7p4.pdf 1. Debug program vorder.m' (vorder.m) that reorders the input vector by placing the smallest element in the first element and the largest element as the last element of the output array and preserves all the other elements of the input vector. Correct all errors in vorder.m to have a fully functional code. 2. Document code by providing comments and explanation for each line of the code 3. Create additional comment line for each error you find. Please start the additional line describing error with: %E:... Create test script to test the function using vector x from MAT file 'vorder.mat" ( vorder mat) that should be downloaded from Canvas and loaded first in the test script. Integrate function vorder at the bottom of the test script and submit only one M file to Canvas. Print the original vector and ordered vector according to the requirements using formatted print. Module 7: Prog 4 Problem: Debugging 1. Debug program 'vorder.m' (vorder.m) that reorders the input vector by placing the smallest element in the first element and the largest element as the last element of the output array and preserves all the other elements of the input vector. Correct all errors in vorder.m to have a fully functional code. 2. Document code by providing comments and explanation for each line of the code 3. Create additional comment line for each error you find. Please start the additional line describing error with: % E: ... . Create test script to test the function using vector x from MAT file 'vorder.mat (vorder.mat) that should be downloaded from Canvas and loaded first in the test script. Integrate function vorder at the bottom of the test script and submit only one M file to Canvas Print the original vector and ordered vector according to the requirements using formatted print