Question: Write a script that will generate a vector of 1 0 random integers, each in the inclusive range from 0 to 1 0 0 .

Write a script that will generate a vector of 10 random integers, each in the inclusive range from 0 to
100. If the integers are distributed evenly in this range, then, when arranged in order from lowest to
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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!