MATLAB: Use a Matlab function to generate a 5×5 matrix containing random numbers between 1 and 30. matrixrandom which Matlab function can i use to generate a 5×5 matrix containing random numbers between 1 and 30. ? example please. Best Answer Tryr = 1 + 29 * rand(5, 5); Related SolutionsMATLAB: How to Search the documentation to create a 5-by-7 matrix with normally distributed numbers (instead of uniformly distributed numbers). Read about randn. https://in.mathworks.com/help/matlab/ref/randn.html MATLAB: How to generate a matrix of random integers from 55 to 100 That looks right if you have to use rand(), for example if this is a school assignment.Easier would beM = randi([55 100],5,5); Related QuestionHow to Create a 5×5 matrix whose rows are (1:5)Removing columns from a 5×5 matrizWhich generator is used in rand functionHow to create a Matlab 5×5 matrix of numbers 1-100
Best Answer