WorksheetsQuiz_1 For MATLAB Course Students
Total questions: 9
Worksheet time: 5mins
The result of the MATLAB expression >>9-/3+4^6
4102
4096
4093
All answers are incorrect
The result of the MATLAB expression >>linspace(1,10,5)
1.0000 3.2500 5.5000 7.7500 10.0000
1 2 3 4 5
1 2 3 4 5 6 7 8 9 10
All answers are incorrect
The result of the MATLAB expression>>rem(27,5)
2
5
1
All answers are incorrect
x=[9,16,4,1]; The result of >>length(x)
4
3
16
All answers are incorrect
x=[9,16,4,1]; The result of >>sum(x)
25
16
30
All answers are incorrect
The coordinates of two points are entered into MATLAB as
>>Pt1_1=[4,2,7];
>>Pt_2=[3,6,1];
the result of>>Pt1-2
4
2
7
MATLAB error message
The following expression is entered into MATLAB
>>B=[2 4 6 8 9; 3 5 7 9 2; 8 6 4 2 7; 7 5 3 1 9;1 4 7 10 3];
The result of >>B(2,3)
6
7
23
All answers are incorrect
The following expression is entered into MATLAB
>>B=[2 4 6 8 9; 3 5 7 9 2; 8 6 4 2 7; 7 5 3 1 9;1 4 7 10 3];
a MATLAB expression to replace the 10 in B with a 9 is
B(5,4)=9
A(5,4)=9
B(4,5)=9
All answers are incorrect
The following expression is entered into MATLAB
>>B=[2 4 6 8 9; 3 5 7 9 2; 8 6 4 2 7; 7 5 3 1 9;1 4 7 10 3];
The result of >>G(1,2)
MATLAB error message
4
2
All answers are incorrect
