Question: Please !! Do the exercise in Scilab Make and schedule the exercise in Scilab Please comment the code 1. Create a routine that receives as
Make and schedule the exercise in "Scilab Please comment the code 1. Create a routine that receives as a parameter a matrix, where the user can choose between two options a) The program will explore all the columns of the matrix, if the element of the main diagonal corresponding to the column is even, then it will order that column from least to greatest, if it is odd, it will sort it from highest to lowest b) Do the same as the previous option but this time it will be for the rows. Important: To order the columns (rows) you should not use the Scilab function, you must program it. Finally apply your program to matrices A for both cases and show the results in the console 37 92 6 58 41 -97 73 28 279 A92 -39 -48 54 9 73 6263 47 45 44 11 27 90 -10 81 -82 37 22 -90 -69 33 50-8 17-17 78 -43 -87 58 31 75-48-40-69-89 7 33-27-43 7 66 31 27-46 23 86 77 63 4260 6819-80 90-86-86-2 53-19 77 64 8015 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
