大学MOOC MATLAB系统仿真(英)(中国矿业大学)1206356812 最新慕课完整章节测试答案
10Examplesandexperiment
文章目录
第十章测试
1、判断题:
Y = fix(X) rounds each element of X to the nearest integer toward positive infinity.
选项:
A: 正确
B: 错误
答案: 【 错误】
2、判断题:
A user-defined function can be directly running by the run button in M-file Editor.
选项:
A: 正确
B: 错误
答案: 【 错误】
1Introduction
第一章测验
1、判断题:
clear will delete anything listed in command window .
选项:
A: 正确
B: 错误
答案: 【 错误】
2、判断题:
Workspace is the memory where all executed variables are saved.
选项:
A: 正确
B: 错误
答案: 【 正确】
3、判断题:
>> is the command prompt in command window.
选项:
A: 正确
B: 错误
答案: 【 正确】
2MATLABBasics
第二章测试
1、判断题:
In Matlab, 3y can be a variable name.
选项:
A: 正确
B: 错误
答案: 【 错误】
2、判断题:
In matlab, default format is short, with 4 bits accuracy.
选项:
A: 正确
B: 错误
答案: 【 正确】
3、判断题:
A(:,1:4) gets the first and the fourth columns from A.
选项:
A: 正确
B: 错误
答案: 【 错误】
4、判断题:
A(:,2) gets the second columns from A.
选项:
A: 正确
B: 错误
答案: 【 正确】
5、判断题:
The abs or double function can be used to obtain the value of the ACSII code corresponding to the string.
选项:
A: 正确
B: 错误
答案: 【 正确】
6、判断题:
You can not call built-in functions with array inputs.
选项:
A: 正确
B: 错误
答案: 【 错误】
7、判断题:
If a command is followed by a semicolon (;), the computational result is not shown in the command window.
选项:
A: 正确
B: 错误
答案: 【 正确】
8、判断题:
MATLAB is case sensitive.
选项:
A: 正确
B: 错误
答案: 【 正确】
9、判断题:
MATLAB language requires prior statement for the use of variables.
选项:
A: 正确
B: 错误
答案: 【 错误】
3Matrixanditsoperation
第三章测试
1、判断题:
zeros(3,3) will generate a 3 by 3 matrix, in which all elements are 0.
选项:
A: 正确
B: 错误
答案: 【 正确】
2、判断题:
MATLAB can combine small matrices directly into large matrices.
选项:
A: 正确
B: 错误
答案: 【 正确】
3、判断题:
In Matlab,
can be expressed by ab.
选项:
A: 正确
B: 错误
答案: 【 错误】
4、判断题:
Assume A is a square matrix, A*A get same value as A.^2
选项:
A: 正确
B: 错误
答案: 【 错误】
5、判断题:
If A is a matrix, max(A) return the maximum of the corresponding columns.
选项:
A: 正确
B: 错误
答案: 【 正确】
6、判断题:
Dot operation A.*B requires that the matrices A and B have the same size.
选项:
A: 正确
B: 错误
答案: 【 正确】
随堂测验1
1、单选题:
Which function in the following can be used to generate a unit matrix of the specified number of rows and columns?
选项:
A: one
B: ones
C: eye
D: eyes
答案: 【 eye】
2、判断题:
zero(2) ans= 0 0 0 0
选项:
A: 正确
B: 错误
答案: 【 错误】
3、判断题:
Using the function 'rand' can generate a uniformly distributed random matrices.
选项:
A: 正确
B: 错误
答案: 【 正确】
4、判断题:
A =[0,1;4,2] A = 0 4 1 2
选项:
A: 正确
B: 错误
答案: 【 错误】
5、填空题:
If A =[0,1;4,2], B=A+1, then B=?
答案: 【 B=
1 2
5 3】
随堂测验2
1、判断题:
,
,
,![]()
Is the following operation legal?
result = a*c
选项:
A: 正确
B: 错误
答案: 【 正确】
2、判断题:
,
,
,![]()
Is the following operation legal?
result = a * b
选项:
A: 正确
B: 错误
答案: 【 错误】
3、判断题:
,
