how to write a 10X10 matrice in Rstudio code example
Example 1: matrix in r
newMatrix = cbind(c(1,2,3),c(4,5,6))
Example 2: how to write a 10x10 matrix in rstudio
ranVal= sample(1:10,100,replace =T) #creating 10X10 with random values
M=matrix(ranVal,nrow=10)
print (M)