Вы находитесь на странице: 1из 1

Quiz of matlap

Name:
1. Consider the
n(s) = s4 + 6s3 + 5s2 + 4s + 3, d(s) = s5 + 7s4 + 6s3 + 5s2+ 7
the polyval(n,-10), polyval(d,-10) are:
(a) 4463 , -35493, (b) 4463 , -35503 (c) - 4463 , -35493
2- format long; pi

(a) 3 (b) 3.14 (c) 3.141592653589

3- A = [1, 2, 3; 4, 5, 6; 7, 8, 9]; (1) B = A(: , end: -1:1) the B is:


(a) (b) (c)
1 2 3 7 4 1 3 2 1

4 5 6 8 5 2 6 5 4

7 8 9 9 6 3 9 8 7

(2) A (:) is:

(a) [1 2 3 4 5 6 7 8 9] (b) [1;2;3;4;5;6;7;8;9] (c) none of these

(3) A(end'):

(a) -9 (b) 9 (c) none of these

Name:

1. Consider the
n(s) = s4 + 6s3 + 5s2 + 4s + 3, d(s) = s5 + 7s4 + 6s3 + 5s2+ 7
the polyval(n,-10), polyval(d,-10) are:
(a) 4463 , -35493, (b) 4463 , -35503 (c) - 4463 , -35493
2- format long; pi

(a) 3 (b) 3.14 (c) 3.141592653589

3- A = [1, 2, 3; 4, 5, 6; 7, 8, 9]; (1) B = A(: , end: -1:1) the B is:


(a) (b) (c)
1 2 3 7 4 1 3 2 1

4 5 6 8 5 2 6 5 4

7 8 9 9 6 3 9 8 7

(2) A (:) is:

(a) [1 2 3 4 5 6 7 8 9] (b) [1;2;3;4;5;6;7;8;9] (c) none of these

(3) A(end'):

(a) -9 (b) 9 (c) none of these

Вам также может понравиться