Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please !! Do the exercise in Scilab Make and schedule the exercise in Scilab Please comment the code 1. Create a routine that receives as

Please !! Do the exercise in Scilab image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals Design And Implementation

Authors: KROENKE DAVID M.

1st Edition

8120322258, 978-8120322257

More Books

Students also viewed these Databases questions

Question

Discuss all branches of science

Answered: 1 week ago