Question: Of course, there is MATLAB command that will round numbers for you. It is round(x) which round x to the nearest integer or round(x,N) which

Of course, there is MATLAB command that will round numbers for you. It is round(x) which round x to the nearest integer or round(x,N) which will round x to the Nth digit to the right of the decimal point. Task: 9) Using a set of conditional statements, write a script that determines which quadrant a vector points in the x, y plane given the x and y components of the vector. Test this script on the vector = (-3,2). The answer should be the second quadrant. (10pts) Note, the script only performs simple rounding and does not consider whether the last number kept is even or odd when preceded by the number 5. See this link for more details. 7 Remote Lab Assignment for the Week of March 30th MATLAB Exercises 10) Write a script utilizing any of the tools you have learned that can determine if any number is a perfect root. Test this script on 725,904. The answer is yes, it is a perfect root of 852. (15pts)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
