Question: Problem 4: Create a random 10 x 1 vector and assign it to r. Create another random 10 x 1 vector and assign it

Problem 4: Create a random 10 x 1 vector and assign it to r. Create another random 10 x 1 vector and assign it to y. Create a scatter plot of y vs. x. Provide a title of the plot, label the axes, and display a grid. Hint: To create a random vector of size nx 1 use the command 'rand(n,1).
Step by Step Solution
3.42 Rating (155 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
