Font size
Worksheetsກວດກາ MATLAB
Total questions: 57
Worksheet time: 29mins
34 25 35;
94 51 75;
40 52 55]
What is the dimension of A ?
34 25 35;
94 51 75;
40 52 55]
How many elements greater than 14 ?
34 25 35;
94 51 75;
40 52 55]
How many elements less than 14 ?
sin(pi/2) + cosd(0)
34 25 35;
94 51 75;
40 52 55]
What is the dimension of A ?
the output line will be ?
Matlab merupakan singkatan dari...
Mathematic Labour
Mathematic Laboratory
Matrix Laboratory
Matrix Labour
Bentuk operasi yang benar dalam matlab adalah ...
/ , + , x
/ , - , *
+ , - , :
+ , x , *
Transpose untuk matrix A adalah ...
Acorde al orden de procedencia, ¿Cual sería el resultado de la siguiente operación?
2a⋅a3−2b+(b24)21⋅b2
6+4b
0
6-6b
6
What will print?
4 5 6
6 4 5
nothing
4 6
a)
b)
c)
d)
a)
b)
c)
d)
a)
b)
c)
d)
What will be the output on executing this program?
>> a=cos(30)
a= 0.12
a= 0.187
a= 0.145
a= 0.154
Gambar diatas merupakan tampilan dari ...
Command Windows
Command Prompt
Workspace
Current Folder
Gambar diatas merupakan tampilan dari ...
Command Windows
Command Prompt
Workspace
Current Folder
Perintah untuk membersihkan layar command windows adalah ...
delete
clear
cls
clc
Perintah untuk menampilkan grafik adalah ...
disp
graph
plot
ploting
SOLVE('4-t^2=0')
(a)
A= 1 2 3
4 5 6
7 8 9
>>A(:,2)=[]
1 3
4 6
7 0
2 3
5 6
8 9
1 3
4 6
7 9
2 3
5 6
8 0
a = 1; sin(a) a = 2;
0.4815
0.8516
0.8415
0.4916
OUTPUT OF A = [0 1; 1 0] ; B=2 ; C = A + B
1 2
4 5
1 4
2 5
ERROR
1 2
5 4
Indicar la representación de la Ecuación en Matlab
P=[1 -9 13 9 -14]
P=[1 9 13 -9 -14]
P=[1 -9 13 -9 -14]
P=[-1 9 13 -9 14]
Find the output :
>>1/(2+3^4 )+4/5*6/7*7/8
0.5506
0.7680
0.8706
0.6680
What will print?
4 5 6
6 5 4
nothing
4 4 4
How many number will print?
5
3
4
0
>>x=[1 2 3];
>>y=[4 5 6]
>>z=x.*y
z=4 10 19
z=4 11 18
z=3 10 18
z=4 10 18
ການສະແດງຄ່າຈຳນວນຈິງ
%c
%e
%f
%r
Save filename ແມ່ນຫຍັງ
ເກັບທຸກຄ່າ ຕົວແປຈາກ workspace ໄວ້ໃນ filernme.net
ເກັບທຸກຄ່າ ຕົວແປຈາກ workspace ໄວ້ໃນ filernme.met
ເກັບທຸກຄ່າ ຕົວແປຈາກ workspace ໄວ້ໃນ filernme
ເກັບທຸກຄ່າ ຕົວແປຈາກ workspace ໄວ້ໃນ filernm.net
Load ແມ່ນຫຍັງ
ເກັບທຸກຄ່າ ຕົວແປຈາກ workspace ໄວ້ໃນ filernme.net
ດຶງຄ່າຕົວແປທຸກໆຕົວ ຈາກຟາຍ matlab.nat
ເກັບທຸກຄ່າ ຕົວແປຈາກ workspace ໄວ້ໃນ filernme
ດຶງຄ່າຕົວແປທຸກໆຕົວ ຈາກຟາຍ matlab.mat
pi ມີຄ່າເທົ່າກັບ
(a)
abs(x) ແມ່ນຫຍັງ
ຄຳນວນຫາຄ່າສຳບູນ
ຄຳນວນຫາຄ່າສະເລຍ
ຄຳນວນຫາຄ່າຮາກຂັ້ນສອງ
ສະແດງຕົວອັກສອນ
ຄຳສັ່ງທີ່ໃຊ້ໃນການແຕ້ມເສັ້ນສະແດງ
plot(t,temp);
plot(t,temp);
plet(t,temp);
Plot(t,temp);
zeros(n) ແມ່ນຫຍັງ
ເປັນຄຳສັ່ງທີ່ໃຊ້ການສ້າງມາຕິກສູນທີ່ເປັນຮູບສີ່ແຈສາກ mxn
ເປັນຄຳສັ່ງທີ່ໃຊ້ການສ້າງມາຕິກສູນທີ່ເປັນຮູບຈະຕຸລັດຂະຫນາດ nxn
ເປັນຄຳສັ່ງທີ່ໃຊ້ການສ້າງມາຕິກສູນທີ່ເປັນຮູບສາມແຈ່ສາກ nxn
ຖຶກຫມົດ
ຄຳສັ່ງນີ້ ຈະໃຊ້ມາຕິກທີ່ມີຄ່າເປັນ ໜື່ງທັ້ງໝົດຊື້ງເປັນມາຕິກແບບ Rectangula ຂະໜາດ
ones(m , n)
ones(size(A))
ones(n)
ones(m, n)
ຊື່ ອາຈານປະຈຳວິຊາ
(a)
ວິຊາລະບົບຄວບຄຸມມີຈັກໜ່ວຍກິດ
2
3
4
5
Generate 50 logarithmically-spaced points between 102 and 107
(a)
What is the symbol for division?
\
/
%
^
x = 2;
if x > 2
y = 2*x;
elseif x < 2
y = 3*x;
else
y = 6*x;
end
What is y?
2
4
6
12
vec = [1 6 20 3 2];
[m, n] = max(vec);
What is the value of n?
5
20
3
2
x = [1 0 0]; y = [0 1 0];
new = 3*sum(x|y)
What is the value of new?
(a)
for index = 1:2:10
v = index*3;
end
How many iterations of the loop will
this code perform?
3
5
6
12
a = [2; 5; 3; 6; 4];
What is the result of a(3)?
(a)
mat = [2 1 3; 5 4 6; 7 8 9];
What is in mat(2,1)?
1
2
7
5
x = 2;
while x<7
x = x+3;
end
What is stored in x?
(a)
Given a = [6 2 4 1]; and
b = 1×4 logical array
1 0 1 0. What is the result of a(b)?
[2 1]
this does not work
[6]
[6 4]
