MATLAB Basics set 19

Que.If solve does not return any solution, what does it imply?
a. The equation has no definite solution
b. The equation has a solution for a specific interval
c. The equation may be solvable but the function ‘solve’ cannot produce a solution
d. There is no function ‘solve’
Que.Vectors depend upon brackets while scalars don’t.
a. True
b. False
c. May be True or False
d. Can’t say
Que.How many errors will MATLAB show if the following code entered?
A=[1;2;3]; B=[1 2]; C=A.*B;D=C*A;

a. 2
b. 1
c. No error
d. 4
Que.To see the sub-matrix with a
Que.What is the symbol used to evaluate the transpose of a vector?
a. “ ^ ”
b. “ * ”
c. “ ‘ ”
d. “ ~ ”
Que.What is the advantage of MATLAB over other computing software with matrix dimensions?
a. No advantage
b. Real time pre-defined memory allocation
c. Real time user-defined memory allocation
d. Matrix operations are easily computed
Que.Which code will help to concatenate two matrices easily in 2 dimensions?
Matrices:   A = 1 2      B = 1 2
                           3 4             3 4

a. cat(A,B)
b. cat(2,[1 2;3 4], [1 2; 3 4])
c. cat(2;[1 2,3 4]; [1 2, 3 4])
d. cat([1 2;3 4], [1 2; 3 4])
Que.Which code can be used for changing the dimensions of a matrix as follows?
Input matrix: 1     2     3         Output matrix: 1 4 2 5 3 6
                         4     5     6

a. reshape([1,2,3;4,5,6],1,6)
b. reshape([1,2,3;4,5,6];1;6)
c. reshape([1,2,3;4,5,6]:1:6)
d. reshape([1,2,3;4,5,6],6,1)
Que.What is the function used to multiply a matrix, A, with itself n times?
a. mtimes(A,n)
b. ntimes(A,n)
c. mtimes(n,A)
d. mtimes(A^n)
Que.Which code is used to solve the system of linear equation: A.(x²)= B?
A = 1     4           B = 1    2
       1    4                  1    2

a. sqrt([1 4;1 4]/[1 2;1 2])
b. Inf
c. sqrt([1 4,1 4]/[1 2,1 2])
d. sqrt[(1 4;1 4]/[1 2;1 2)]
Que.Which operator set is used for left and right division respectively?
a. .\ and ./
b. ./ and .\
c. Left division and right division is not available in MATLAB
d. / and \