Matla Quiz Ans
Matla Quiz Ans
C) syms()
2. A) clear all 49. A) axis([xmin xmax ymin ymax])
3. A) plot() 50. A) function()
4. B) .*
5. B) [ ]
6. B) fscanf()
7. A) help
8. A) Clears the command window
9. A) close all
10.B) row_vector = [1, 2, 3, 4]
11. A) rand()
12.B) size()
13.A) Create subplots within a figure
14.C) A 2x3 matrix
15.D) Both A and B
16.A) eig()
17.A) *
18.C) 8
19.A) sum()
20.A) To iterate over elements in an
array
21.B) plot(1:10, sin(1:10))
22.A) det()
23.A) save()
24.D) csvread()
25.A) global variable_name
26.A) roots()
27.A) Blue
28.A) eye(5)
29.B) zeros()
30.D) ones(3,3)
31.B) scatter()
32.A) subplot(2, 2)
33.B) integer
34.A) mean()
35.A) Solid line
36.B) 1==1
37.A) solve()
38.A) 0
39.B) grid on
40.B) display()
41.A) func = @(x) x^2;
42.C) saveas()
43.A) length(v)
44.C) Generates 5 equally spaced points from 1 to 10
45.A) inv(A)
46.A) 6
47.C) 0