Mathematical Functions and Expressions set 20

Que.What is the output of the following code?
rand(2,’signed’)

a. A 2*2 matrix of signed data type
b. A 2 element vector of signed data type
c. A 2 element vector
d. Error
Que.What is the default return type of the rand command?
a. Single
b. Double
c. Signed
d. Unsigned
Que.The rand command is provided by the __________
a. Parallel Computing Toolbox
b. Signal Processing Toolbox
c. Symbolic Math Toolbox
d. Does not exist
Que.What is the output of the following code?
makedist(‘normal’)

a. Error
b. A normal distribution
c. A list of numbers selected randomly from the normal distribution
d. A normalized normal distribution
Que.What is the output of the following code?
c=makedist(‘normal’);random(c)

a. An array of random numbers selected from the normalized normal distribution
b. Error due to makedist
c. A random number from the normalized normal distribution
d. Error due to random
Que.What is the attribute of sparse matrices?
a. sparse
b. double
c. vector
d. no attribute
Que.What is the output of the following code?
sparse[m n]

a. A m*n all zero sparse matrix
b. A m*n sparse matrix
c. Error due to syntax
d. Error in the input
Que.The nature of complex input taken by the sparse() command is ______________
a. Only Imaginary part
b. Only positive imaginary part
c. Only negative real part
d. All of the mentioned
Que.Which of the following can be the space taken up by a sparse matrix?
a. .25 megabytes
b. 600 megabytes
c. .5 GB
d. 450 megabytes
Que.To check whether the input matrix is sparse or not, we use the ________ command.
a. issparse
b. besparse
c. ifsparse
d. sparse