How would I do this in R? The prompt is:
Generate 1000 2⇥2 matrices whose elements are random numbers(not all integers) that range between 10 and 10.2.For each matrix compute the eigenvalues. Plot each eigenvalue
So far I've done M=matrix(runif(4, min=-10, max=10), ncol=2, nrow=-10)
and I don't really know where to go from here.