Question: 6. Write a script that will generate a vector of 10 random integers, each in the inclusive range of 1 to 100. If the integers
6. Write a script that will generate a vector of 10 random integers, each in the inclusive range of 1 to 100. If the integers are evenly distributed in this range, then when arranged in order from the lowest to the highest, they should fall on a straight line. To test this fit a straight line through the points and plot both the points and the line with a legend
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
