Logo

Matlab Questions Set 26:

Quiz Mode

MATLAB is case ________

1
2

Solution:

 

A = [1 0 2] ; b = [3 0 7] ; c=a.+b;

1
2
3
4

Solution:

 

for i=1:4
for j=1:4
a=5;a=a+5;
end
end

1
2
3
4

Solution:

 The bilateral Z-transform ranges from __________ 

1
2
3
4

Solution:

 What is the output of the following code? 

a=con([1 2],[1 2]);
b=cconv([1 2],[1 2]);

1
2
3
4

Solution:

 

a=[pi/2 pi 3*pi]; spy[a]

1
2
3
4

Solution:

  What are the functions to see the graph of a discrete function 

1
2
3
4

Solution:

 Global variables must be mentioned _____ an M-file 

1
2
3
4

Solution:

 The function ‘whos’ shows the details of the variables in the ongoing program but it doesn’t show the attributes of the variables. 

1
2

Solution:

What is the output of the following MATLAB code?

close all;
for x = 1.5 : .5 : 2;
y=3;
x=y+3
clc
end

1
2
3
4

Solution: