Question: Question Set 2 1. The first elements of a vector x in Octave is represented by -> A)x[1] B) x[0] C) x(0) D) x(1) 2.
Question Set 2 1. The first elements of a vector x in Octave is represented by -> A)x[1] B) x[0] C) x(0) D) x(1) 2. Which of the following is not a valid variable name in Octave? => A) VN1 B) VN.1 C) VN 1 D) VN$1 3. In Octave, can be evaluated using => A) sin(x) 1 B) sin(x-1) C) asin (x) D) asin(x) 4. The complex number es can be expressed as -> A) sin(a) + i cos (2) B) sin(x) - i cos() C) cos(x) - 1 sin(x) D) cocs (x) + i sin(x) 5. Which of the following statements yields the vector (1. 3.5]? --> A) linspace (135) B) linspace (1.3.5) C) linspace (153) D) linspace (1.5,3) 6. Which of the following statements yields the vector (0.10, 100, 10.0]? > A)0.1: 10:1.0 B) logspacel-1 13) C) logspace 1.1.3) D) logspace10.1.1.10) 7. Let u. (1,2,3,4,5). Which of the following expression is legal? A) UU B) u Clu AUD) 'Au 8. Let u be a row vector. Which of the following functions yields the same result as norm(x)? A) sort luu) B) sert (ul) C) sort (uu) D) sort (uu)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
