10. In MATLAB, the elements of the matrix are enclosed in brackets [ ] and are separated by
blank space, and the elements of each row are separated by a semicolon (;)
a. True
b. False
11. To generate the set of x even numbers in the range of two to twenty, what should you enter in
the Command Window?
a. x = 2;2;20
b. x = 2:2:20
c. x = 2:20:2
d, x = 2,20,2
12. Suppose you have defined x = [1,2,3] and y = [2,4,6] in the Command Window. Determine
the result of the following MATLAB operation: >>x + y
a. ans = 3 6 9
b. ans = 1 2 3 2 4 6
c. ans = 6 12
d. ans = 18
13. Suppose you have defined x = [1,2,3] and y = [2,4,6] in the Command Window. Determine
the result of the following MATLAB operation: >>x .* y
a. ans = 3 6 9
b. ans = 2 8 18
b. ans = 1 2 3 2 4 6
c. ans = 6 12
14. Shown below are MATLAB inputs. Complete each output:
>> A = [1:4];