Logo

Matlab Questions Set 25:

Quiz Mode

 

syms x; limit(sin(x)/x)

1
2
3
4

Solution:

 

syms n;limit(n-1,n,nan,'left')

1
2
3
4

Solution:

  What is the argument of -1-i in MATLAB 

1
2
3
4

Solution:

 The freqz() command returns 

1
2
3
4

Solution:

 If a character input is given to a command which only takes integers, it’ll always give an error. 

1
2

Solution:

  How would you express pi as a character and an integer 

1
2
3
4

Solution:

  What is a linear system 

1
2
3
4

Solution:

n1 = int8(-128);

n2 = int8(-129);

n3 = uint8(-128);

The output of the above code is,

1
2
3
4

Solution:

Statement 1- saveas is used to save command window text to file 

Statement 2- dairy is used to save command window text to file 

Statement 3- todiary is used to save command window text to file 

1
2
3
4

Solution:

Statement 1- Histogram plot used to show comparisons of profit of 3 industries over 3 quarters 

Statement 2- Bar plot used to show comparisons of profit of 3 industries over 3 quarters 

Statement 3- frequency plot used to show comparisons of profit of 3 industries over 3 quarters 


1
2
3
4

Solution: