Use MATLAB help lo find a command which can generate a matrix with random real e
ID: 3143146 • Letter: U
Question
Explanation / Answer
Ans(1.a):
rand( ) function generates random numbers between 0 and 1.
we need matrix so we use rand(N) which generates NxN matrix of random numbers.
-----------------------
Ans(1.b):
floor( ) command can be used to round the random numbers to nearest integer. For example, floor(8.734) is 8.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.