Question: 3 . Create an array named numbers with a random number of rows between 3 and 6 , a random number of columns between 3
Create an array named numbers with a random number of rows between and a random
number of columns between and with elements that are random integers between and
Let the array show in the command window do not suppress this output Using a while loop,
for loops and if statements write code that rearranges the integers in the array such that when
read from lefttoright then toptobottom English reading order, not Matlab reading order all of
the odd numbers are listed first, and otherwise numbers retain their original order sample start
and reordered shown below Output the final sorted array to the command window. Do not use the sort function.code again to verify that your code can handle different sizes of array your submission only
needs to include the output in the command window for one run Do not use the "sort" function
at any point. Remember that you are always allowed to use code from lecture as a starting point.
Before:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
