6. (10 points) Complete the following: • Create a (5x5) matrix of random numbers between (0,20) by using rand(), multipl
Posted: Mon Jul 11, 2022 12:44 pm
statement that checks if the rank of the matrix is 1, then 2, then 3, then 4, leaving the else for the posibility of a rank 5. • In the correct section of the if else statements, include fprintf() statements which output the rank given by that if and else. • Run your code 3 times and each time record the rank of your random matrix in a comment.
6. (10 points) Complete the following: • Create a (5x5) matrix of random numbers between (0,20) by using rand(), multiplication, and round (). • Create an if else