adplus-dvertising
frame-decoration

Question

What is the output of the following command?
randi(10 5,3)

a.

Error

b.

A 5*3 matrix of random numbers

c.

A 5*3 matrix of random numbers in the interval [1,10]

d.

A 5*3 matrix of random numbers evenly spaced in the interval [1,10]

Answer: (a).Error

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the following command?

Similar Questions

Discover Related MCQs

Q. The randn command generates random numbers by following a _________

Q. The linspace command generates pseudorandom numbers.

Q. What is the default return type of the rand command?

Q. The rand command is provided by the __________

Q. What is the attribute of sparse matrices?

Q. The nature of complex input taken by the sparse() command is ______________

Q. Which of the following can be the space taken up by a sparse matrix?

Q. To check whether the input matrix is sparse or not, we use the ________ command.

Q. A sparse identity matrix is generated by the ______ command.

Q. What is the command used to generate a sparse normally generated matrix?

Q. The non-zero elements in a sparse matrix are shown by the ______ command.

Q. The size of the sparse matrix will be ___ the original matrix.

Q. The maximum space allocated for sparse matrices is given by the ____ command.

Q. The spy command takes in multiple matrices.

Q. The space located for the matrix generated from the spones command is _______

Q. A memory for sparse matrix is dedicated by the ______ command.

Q. The default number of non-zero elements which can be put into the memory allocated by the spalloc command is > 1.

Q. The pattern generated by the spy command is a measure of the number of zeros in the input matrix.