Logo

Matlab Questions Set 31:

Quiz Mode

 

sumsqr([Inf Inf; Inf Inf])

1
2
3
4

Solution:

 

syms n;limit(n-1,n,Inf,’right’)

1
2
3
4

Solution:

 

sin(symsum(k^2,1,Inf));

1
2
3
4

Solution:

 

P=tan90

1
2
3

Solution:

Find the matrix t where t = (16:-4:1)'.^2.

1
2
3
4

Solution:

 The window function is used t 

1
2
3
4

Solution:

 What is the output of the following code? 

 

A=[1 2 3; 4 5 6; 7 8 9];if( nzmax(A)==nzmax(spones(A) ) disp(‘Yeah !’)

1
2
3
4

Solution:

Which of the following MATLAB instructions does not generate an error?

1
2
3
4

Solution:

 A function is not returning values according to desired input values. What should be the correction 

1
2
3
4

Solution:

Statement 1- persistent variables are variables which retain values between calls to the function 

Statement 2- persistent variables are variables which help in calling a function

Statement 3- persistent variables are variables which deal with functions 

1
2
3
4

Solution: