Q1.
1. If C is an 8x8 matrix, C (3, [1, end]) will display:
a. 3rd column
b. First and last
rows
c. First and last
element in 3rd row
d. 3rd row
2. Which command is used to clear a command window?
a. clear
b. close all
c. cle
d. clear all
3. Which is the invalid variable name in MATLAB?
a. x6
b. last
c. 6x
d. z
4. If A=[4, 11, 3; 1, 12, 7; 6, 3, 10] then the result of sum(A(1:2,2)) is
a. 13
b. 23
c. 5
d. 16
5. The result of (fix (3.9) * ceil (3.2) + floor (2.7)) is
a. 12
b. 14
c. zero
d. 15