在Matlab中,输入x=normrnd(80,5,2000,1); count=hist(x);count中的元素个数是___
A: 8
B: 9
C: 10
D: 11
A: 8
B: 9
C: 10
D: 11
举一反三
- 中国大学MOOC: 在Matlab中,输入x=normrnd(80,5,2000,1); count=hist(x);count中的元素个数是___
- The output of the following code is ____.<br/>count = 1; /* initialize count */ while (count <= 10) { printf("%d ",count); count++; /* increment count */ } A: 1 1 1 1 1 1 1 1 … B: 1 2 3 4 5 6 7 8 9 C: 1 2 3 4 5 6 7 8 9 10 D: 1 2 3 4 5 6 7 8 9 10 11
- 下列哪条语句是正确的?_______________ A: int count = 5; int* x = &count; B: int count = 5; int x = &count; C: int count = 5; int& x = &count; D: int count = 5; int** x = &count;
- 在matlab软件使用中,如已知x=0:10,则x有()个元素。 A: 10 B: 11 C: 9 D: 12
- 执行以下程序段后,数组b中的元素个数有________个。Dim a() As Integer = {2, 15, 9, 4, 5, 56, 74, 8, 43, 10}Dim b(9) As IntegerDim count As Integer = 0Dim i As IntegerFor i = 0 To UBound(a)If a(i) Mod 2 = 0 Thenb(count) = a(i)count += 1End IfNextReDim Preserve b(count - 1)