Logo

Matlab Questions Set 1:

Quiz Mode

 What is the final value of i? 

 

for i=[1:10]
end

1
2
3
4

Solution:

If we put bar(x,y,1.2), we will get _____ bars.

1
2
3
4

Solution:

 Butterworth and Low pass filters use 

1
2
3
4

Solution:

What is the output of the following MATLAB code?

A = [0 0 0; 0 9 0; 1 2 3]; nnz(A)

1
2
3
4

Solution:

 

Load m1 used to

1
2
3
4

Solution:

  How to introduce a title to describe the subplots generated in MATLAB 

1
2
3
4

Solution:

 How will you return to execution from debugging mode? 

1
2
3
4

Solution:

1. Scalars are a special case of vectors.

2. All vectors are matrices.

3. All matrices are arrays.

4. All arrays are matrices.


Which of the above statements are true?

1
2
3
4

Solution:

 To apply superposition in MATLAB, the condition, one of the condition is 

1
2
3
4

Solution:

Statement 1- We can find the mean value of a series (up to n) using mean() 

Statement 2- We can find the mean value of a series (up to n) using sumabs()  

Statement 3- We can find the mean value of a series (up to n) using meanabs()  

1
2
3
4

Solution: