Logo

Matlab Questions Set 49:

Quiz Mode

 

A = [1 1 0 0]
B = [1 ;2 ;3 ;4]
C=A*B

1
2
3
4

Solution:

 

syms x;limit(((1-cos(x))/(x^2)),x,Inf)

1
2
3
4

Solution:

 syms ‘x’ makes the declaration long-lasting 

1
2

Solution:

 MAT files are Binary files created by MATLAB 

1
2

Solution:

 

x=sin(10);y=pi;whos

1
2
3
4

Solution:

  How can we close all graphs in MATLAB 

1
2
3
4

Solution:

 What is the condition on x in bar(x,y) 

1
2
3
4

Solution:

 How will one escape from printing graphs of variables, whose value gets changed for the program 

1
2
3
4

Solution:

Consider the following MATLAB code:

A = [true false true; true true false]
A = 1     0     1
   1     1     0
B = cumprod(A,2)

1
2
3
4

Solution:

If the 'solve' function does not return any solution, what does it imply?

1
2
3
4

Solution: