0% found this document useful (0 votes)
5 views

20ec0454_matlab Programming_bit Bank With Solution

Uploaded by

jackiealex331
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

20ec0454_matlab Programming_bit Bank With Solution

Uploaded by

jackiealex331
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

R20 20EC0454-MATLAB PROGRAMMING

SIDDHARTH INSTITUTE OF ENGINEERING&TECHNOLOGY


(AUTONOMOUS)
(Approved by AICTE, New Delhi& Affiliated to JNTUA, Ananthapuramu)
(Accredited by NBA for Civil, EEE, Mech., ECE & CSE)
(Accredited by NAAC with ‘A+’ Grade)
Puttur -517583, Chittoor District, A.P. (India)
BIT BANK (OBJECTIVE)
Subject with MATLABPROGRAMMING(20EC0454) Course & B.Tech. – CSE, CSIT
Code Branch
Year & Sem IV-B.Tech.&I-Sem Regulation R20

UNIT – I
INTRODUCTION TO SIGNALS AND SYSTEMS
1 The window which displays the variables created in the command window [ A ]
A) Workspace B) command window C) current directory D) All
2 Previous keystrokes are displayed in the [C ]
A) Workspace B) current directory C) command history D) All
window
3 A variable in MATLAB is a symbol used to contain a [B ]
A) symbol B) value C) command D) expression
𝑏
4 Exponentiation of 𝑎 in MATLAB form is [A ]
A) a^b B) a*b C) sqrt(a,b) D) a%b
5 The mathematical operations represented by symbol +, -, *, /, \, and ^ follow a set of rules called [D ]

A) function B) component C) extension D) Precedence


6 Use __ to separate rows in an array creation command, or to suppress the output display of a line [ B ]
of code.
A) : B) ; C) , D) .
7 Menus in matlab are [C ]
A) Matlab function B) Array C) context sensitive D) None
8 . A numerical array is an ordered collection of [ A ]
A) numbers B) variables C) polynomials D) Co-efficients
9 . Matlab function files and program files are saved with the extension [B ]
A) .mex B) .m C) .mat D) .c
x
10 The syntax for e in matlab is [C ]
x
A) abs(x) B) exp(e ) C) exp(x) D) None
11 . The syntax for Acos2x in matlab is [C ]
A) Acos^2(x) B) A*cos(2x) C) A*cos(2*x) D) ACos(2*x)
12 The = sign in matlab is called ______ operator [D ]
A) arithmetic B) bitwise C) signed D) Assignment
13 The matlab is a [B ]
A) image sensitive B) case sensitive C) not case sensitive D) None
14 ___________reverses the previous editing operation [B ]
A) redo B) undo C) cut D) Find
R20 20EC0454-MATLAB PROGRAMMING

15 _______________removes all variables from memory [ B ]


A) quit B) clear C) clc D) Exist
16 8+3*5= [C ]
A) 55 B) 43 C) 23 D) 16
17 [ A ]
How to write the equation in matlab r=√𝑉⁄𝜋𝑚
A) sqrt(V/(pi*m)) B) sqrt(V/(pi^m)) C) D)
sqrt( √𝑉⁄𝜋𝑚 ) sqrt( √𝑉⁄𝑝𝑖 ∗ 𝑚

18 If a variable does not exist it will return a [B ]


A) 1 B) 0 C) 2 D) 3
19 The process of finding and removing errors in a program is called ___ [A ]
A) debugging B) simulation C) problem solving D) All
20 Which adds a text to the vertical axis [B ]
A) xlabel(‘text’) B) ylabel(‘text’) C) title(‘text’) D) text(x,y)
21 Which provides the quick access to the documentation for the matlab function. [ C ]
A) help browser B) function browser C) help function D) Finding
22 To view the previous or next page in the index we have to click [C ]
A) left or right of the B) left or right C) left or right of the top D) top or bottom
bottom of the page of the page
23 Help navigator pone shows the documentation search and the [D ]
A) documentation search B) display search results C) documentation and D) demo search results
results demo search results
24 Which function is the most basic way to determine the syntax and behavior of a function [C ]
A) function browser B) help functions C) help browser D) other sources
25 Which datatype is the default in MATLAB [B ]
A) Integer B) Floating-point C) Character D) String
26 The help function is the most basic way to determine the [D ]
A) syntax B) behavior C) command D) syntax and behavior
of function
27 Which pone shows the documentation search results and the demo search results [C ]
A) help functions B) help browser C) help navigator D) other resources
28 The look for function allows you to search for functions based on a [D ]
A) mouse B) MATLAB C) help text D) keyword
29 Which displays the documentation for the MATLAB function [D ]
A) doc function B) doc C) doc toolbox D) help
30 The functions help, look for, and doc can be used to display syntax information for a specified [C ]
function
A) function browser B) help function C) help browser D) other resources
31 To open the help browser, select [B ]
A) product help B) product help from the C) question mark button D) both b and c
help menu in the toolbar
32 To open the help navigator pone from the display name [D ]
A) product help B) view menu C) product help from the D) help
R20 20EC0454-MATLAB PROGRAMMING

view menu
33 What does MATLAB stands for ? [B ]
A) Mathematics lab B) Matrix Laboratory C) Multi-Array Lab D) Matrix Language
34 The most basic way to determine the syntax and behavior of function is [A ]
A) help B) find C) search D) view
35 inverse sine result in radians can be find by using which function [B ]
A) SIN B) asin C) sin D) acos
36 The command which clears the command window [D ]
A) clear B) clr C) remove D) clc
37 which command lists the variables currently in memory [ B ]
A) whos B) who C) comma D) quit
38 The matlab syntax for ln x [A ]
10
A) log(x) B) log10(x) C) xlog10 D) log x
39 Which command specifies the accuracy of floating-point precision [D ]
A) ans B) inf C) nan D) Eps
40 Which command lists all files in the current directory [D ]
A) dirdirname B) cd dirname C) addpathdir D) Dir
UNIT – II
ARRAYS
1 Which is the capability of to handle collection of items [B ]
A) Strings B) arrays C) database D) all
2 How many co-ordinates are present in a vector [C ]
A) 3 B) 2 C) 1 D) 4
th
3 The 10 element in the list is the temperature measured hour is [B ]
A) 5th hour B) 10th hour C) 6th hour th
D) 7 hour
4 which notation is used to create a row vector [B ]
A) transpose notation B) comma notation C) colon notation D) semicolon notation
5 How can create vectors from one vector to another [A ]
A) appending B) colon operator C) semicolon D) strings
6 Create a matrix >>A = [2,4,10; 16,3,7] [B ]
A) 2 16 B) 2 4 10 C) 2 4 10 D) 2 4 10
[ ] [ ] [ ]
[4 3 ] 16 3 7 16 3 4 3 16 7
10 7
7 Choose the symmetric matrix [A ]
A) AT = A B) AT = -A C) -AT = A T
D) -A = -A
8 The array contains complex elements the transpose operator produces [B ]
A) skew vector B) complex conjugate C) transpose matrix D) symmetric matrix
transpose
9 V (2:5) represents the second through fth elements are [C ]
A) v(2),v(5) B) v(3),v(4) C) v(2),v(3),v(4), v(5) D) v(5),v(4)
10 A graphical interface for working with variables including [D ]
A) database B) arrays C) strings D) variables
11 Which is scalar array additions of [6,3]+2 = [C ]
R20 20EC0454-MATLAB PROGRAMMING

A) [8,2] B) [6,5] C) [8,5] D) [6,9]


12 Which is the array multiplication of [3,5].*[4,8] = [C ]
A) [40,12] B) [40,18] C) [12,40] D) [16,14]
13 Which is the array RIGHT division of [2,5]./[4,3] = [B ]
A) [4/2 , 8/5] B) [2/4 , 5/3] C) [6/3 , 4/6] D) [4/8 , 2/3]
14 𝑤1 [A ]
The result of [u1 u2 u3 ] [𝑤2]
𝑤3
A) u1w1+u2w2+u3w3 B) u1w1+u2w2 C) u3w3+u2w2 D) u1w1+u3w
15 i.i = j.j = k.k = [B ]
A) 0 B) 1 C) 2 D) not define
16 i.j = j.k = k.i = [B ]
A) 1 B) 0 C) 4 D) not define
17 6 −2 [D ]
9 8
The result of [ 10 3] [ ]
3 12
4 7
A) 64 24 B) 64 75 1 C) 64 75 D) None of the above
[ ]
[75 116] 24 116 116 [24 116]
1 116 1 116
18 The formula for height verses velocity is [B ]
A) v = h2sin2θ/2g B) h = v2sin2θ/2g C) g = v sin θ/h
2 2
D) none of these
19 The formula for general matrix multiplication is [B ]
A) cij=∑𝑝𝑘=1 𝑎ikbkj B) cij=∑𝑝𝑘=0 𝑎ikbkj 𝑝
C) cij=∑𝑘=1 𝑎jkbjk 𝑝
D) cij=∑𝑘=∞ 𝑎 ikbkj
20 The associative property is [A ]
A) A(BC)=(AB)C B) A(B+C)=AB+AC C) A+BC=AB+AC D)
21 The distributive property is [C ]
A) (AB)C=A(BC) B) A(B+C)=AB+AC C) A+(BC)=(A+B)(A+C) D) none of the above
22 IA = AI = [C ]
A) AI B) 0 C) A D) 1
23 The description of eye(n) [A ]
A) n×n identity matrix B) n×n transpose matrix C) n×n skew matrix D) n×n
symmetricmatrix
24 What are the x,y,z values of the following equations [D ]
6x+12y+4z=70 , 7x-2y+3z=5 , 2x+3y-9z=64
A) x=5,y=3,z=-2 B) x=-2,y=3,z=5 C) x=3,y=3,z=-2 D) None of the above

25 The matrix having same number of columns and rows is called as [D ]


A) symmetric B) skew symmetric C) transpose D) square matrix
26 Which notation uses the structures [D ]
A) (!) notation B) (-)notation C) (“ “) notation D) (.) notation
27 Which type display cellplot(A) [B ]
A) display array A B) cell array A C) cell point A D) cell plot
28 The cell array consists of which element [D ]
A) bin B) byte C) bit D) 1M byte
29 The data can be assign by using [C ]
R20 20EC0454-MATLAB PROGRAMMING

A) cell indexing B) content indexing C) both a&b D) none of these


30 The cell arrays are created by using [C ]
A) assignment statement B) cell function C) both a&b D) none of these
31 >>p=poly ([1,3+5i,3-5i]) B[ ]
A) x3-40x2+7x-34 B) x3-7x2+40x-34 C) x3-34x2+40x-20 3 2
D) x +34x +32x+20

32 What the x,y,z values of given equations: 6x-4y+8z=112,-5x-3y+7z=75,14x+9y-5z=-67 [D ]


A) x=5,y=-2,z=10 B) x=2,y=-5,z=2 C) x=2,y=5,z=10 D) None of the above
33 162 [A ]
The value of [10 5 7] [114] =
149
A) 3233 B) 6532 C) 2323 D) 3676
34 All product matrix is [B ]
A) scalar B) not scalar C) vector D) not vector
35 The representation of array multiplication is [A ]
A) s.*t B) s*t’ C) s*t D) s(t)
36 The symbol of array exponentiation [A ]
A) A.^ B) .A C) A D) all
37 The symbol of array left division [B ]
A) ./ B) .\ C) \ D) all
38 The symbol of scalar array addition [C ]
A) A+B B) a+b C) A+b D) a+B
39 Which command proof protects increasing of wrong dimensions [A ]
A) grid on; B) clear C) close all; D) getch();
40 How many types of arrays [C ]
A) 1 B) 2 C) 3 D) 4
UNIT – III
PROGRAMMING TECHNIQUES AND PLOTTING
1 Elementary functions used for inverse sine operation [A ]
A) asin B) asind C) sinh D) None
2 If x= its magnitude is [C ]
A) abs(1,3) B) 1+3 C) D) None
3 Matlab function used for rounding to nearest decimal or integer is [C ]
A) Ceil B) floor C) round D) None

4 To Convert angle from degrees to radians_____ command is used in Matlab [B ]


A) r2d B) deg2rad C) degr2rad D) None
5 Matlab command used to find Imaginary part of complex number is [C ]
A) im B) img C) imag D) None
6 In MATLAB, sign is _____ function [D ]
A) unit B) impulse C) sine D) signum
7 Matlab command used to find the factorial of input number is [B ]
A) fact B) factorial C) factor D) None
R20 20EC0454-MATLAB PROGRAMMING

8 Polynomial curve fitting can be done using _____ command [C ]


A) polyfit B) poly C) polyval D) None
9 Function used to transform cylindrical coordinates to Cartesian [A ]
A) pol2cart B) cart2pol C) sph2cart D) cart2sph
10 NaN is known as ____. [B ]
A) Nand logic B) Not a number C) Not available D) None
11 A _______ defined function is a MATLAB program that is created by users [C ]
A) software B) pre-defined C) user D) None
12 Sin(x), log(x) are ____ type of functions [B ]
A) software defined B) built in C) user defined D) None
13 The form of the user defined function definition line is [A ]
A) function[outputs]=m B) function[inputs]=myfun( C) Function[outputs] D) None
yfun(inputs) outputs) =myfun(inputs)
14 In the form of the function definition line function[y]=myfun(x) , x is the __ argument [A ]
A) Input B) Output C) Inout D) None
15 Function files are saved with the extension____. [B ]
A) fun B) .m C) .mat D) None
16 In the command y= myfun(0.5,3,4), the inputs are_____. [C ]
A) myfun B) y C) 0.5,3,4 D) None
17 In the form of the function definition function[y]=myfun(x), __ is the function name A[ ]
A) myfun B) y C) function D) None
18 _______ determines if two strings are identical [B ]
A) strc B) strcmp C) Stringcomparison D) None
19 Output for the following commands >> a = ’Hai’; b = ‘Hi’; strcmp(a,b) [A ]
A) 0 B) equal C) 1 D) None
20 Output for the following commands >> a = ’hi’; b = ‘Hi’; strcmp(a,b) [A ]
A) 0 B) equal C) 1 D) None
21 Output for the following commands >> a = ’hi’; b = ‘Hi’; strcmpi(a,b) [C ]
A) 0 B) equal C) 1 D) None
22 _______ reads data from an open text file. [B ]
A) fprint B) fscanf C) fwrite D) None
23 _______ reads data from an open binary file [D ]
A) fprint B) fscanf C) fwrite D) fread
24 _____writes the data to a text file [A ]
A) fprint B) fscanf C) fwrite D) fread
25 ____ writes the data to binary file [C ]
A) fprint B) fscanf C) fwrite D) None
26 _____is a control character that starts a new line [D ]
A) %d B) ; C) /n D) \n
27 ____function is used to displays the value of variable X without printing the variable name [C ]
A) print B) out C) disp D) None
28 In the form of the function definition line function[y]=myfun(x) , x is the __ argument [A ]
A) Input B) Output C) Inout D) None
R20 20EC0454-MATLAB PROGRAMMING

29 Function files are saved with the extension____ [D ]


A) fun B) m C) mat D) None
30 What is primary function of ‘plot’ command in MATLAB [B ]
A) To create 3D plots B) To create 2D plots C) To manage D) None
variables
31 Which command is used to add a title to plot in MATLAB [C ]
A) xlabel B) legend C) title D) Hold on
32 What function can be used to create a logarithmic plot in MATLAB [D ]
A) log B) loglog C) semilogx D) Both b and c
33 How can you hold the current plot and add new plots to it [C ]
A) Plot hold B) Hold off C) Hold on D) None
34 What is the command is used to label x-axis of a plot [B ]
A) ylabel B) xlabel C) xaxis D) None
35 What is the default color of a plot created with the plot function [B ]
A) Red B) Blue C) Black D) Green
36 Which command is used to clear all variables in the workspace ? [A ]
A) clear all B) clc C) clear workspace D) reset
37 What function is used to create a 3D surface plot [D ]
A) mesh B) surf C) contour D) Both a and b
38 Which function is used to save a figure as an image file [D ]
A) save B) savefig C) saveimage D) Save as
39 What command is used to create a grid on a plot [B ]
A) grid plot B) grid on C) axisgrid D) showgrid
40 What MATLAB function is used to plot data as a bar chart ? [B ]
A) barplot B) bar C) barchart D) bargrapgh
UNIT – IV
INTRODUCTION TO SIGNALS AND SYSTEMS
1 The MATLAB basic xy plotting function is ____. [A ]
A) plot(x,y) B) plot(y,x) C) Plot(x,y) D) None
2 fplot(function,[xminxmaxyminymax]) is syntax for ___ command function. [D ]
A) Plot B) plot C) poly D) None
3 _command evaluates the polynomial p at specified values of its independent variable [B ]
A) plyval(p,x) B) polyval(p,x) C) polyfit(p,x) D) None
4 When data are plotted, each data point is plotted with a data symbol, or ___ [A ]
A) Point marker B) Pointer C) plotter D) None
5 __command Splits the Figure window into an array of subwindows with m rows and n columns [C ]
and directs the subsequent plotting commands to the pth subwindow
A) figure(m,n,p) B) plot(m,n,p) C) subplot(m,n,p) D) None
6 ____ plot is used to represent a data set that covers a wide range of values. [C ]
A) liner B) Random C) Logarithmic D) None
7 ____ plot has log scales on both axis [B ]
A) liner B) log-log C) power D) None
8 log-log plot has log scales on ____ axis [C ]
R20 20EC0454-MATLAB PROGRAMMING

A) X-axis B) Y-axis C) both X & Y D) None


9 Y(x)= mx+c is a ____ function [A ]
A) linear B) log-log C) power D) polar
10 We use ______ and ______plots to identify the function type [A ]
A) Log-log & semi-log B) Linear & Non-linear C) Power & log D) None
11 Log-log and semi-log plots are used to identify the function [B ]
A) Definition B) Type C) structure D) None
12 ____describes the relationship between dependent variable and independent variable [A ]
A) Regression B) Plot C) Function D) None
13 Dependent variable is also called ______ variable [A ]
A) response B) Global C) Function D) None
14 Regression indicates the_____ [B ]
A) response B) strength of impact C) growth D) None
15 MATLAB has ___ relational and _____ logical operators [D ]
A) 4&3 B) 5&6 C) 2&4 D) 6&5
16 The result of a comparision using relational operators is [C ]
A) 0 B) 1 C) either 0 or 1 D) None
17 The ____ symbol is called the tilde [C ]
A) AND B) NAND C) NOT D) OR
18 Logical operators are sometimes called _______ operators [C ]
A) Arithmatic B) Relational C) Boolean D) None
19 The _______ function returns an array that can be used for logical indexing and logical tests [C ]
A) User defined B) pre-defined C) logical D) None
20 Conditional statements enable you to select______________ execution [A ]
A) Run time block of B) Execution time block of C) Both A and B D) None of the above
code code
21 To test for equality against a set of known values, use a ______ statement [B ]
A) if B) Switch C) if else D) Loop
22 For numbers, case expressions == ______________ [A ]
A) switch expression B) while_expression C) Both D) None
23 For character vectors, strcmp(case_expression, switch_expression)=____ [A ]
A) 1 B) 2 C) 3 D) 4
24 In for loop the loop repeats execution of statements until index is________ [B ]
A) >end Val B) < end Val C) end Val D) All
25 The _____structure enhances the MATLAB decision making capabilities [B ]
A) if B) Switch C) if else D) Loop
26 Every if statement must have an accompanying _____ statement [B ]
A) if else B) end C) elseif D) None
27 The _____ statement stops the execution of the loop [B ]
A) end B) break C) continue D) None
28 The statement passes control to the next iteration of the for or while loop [C ]
A) end B) break C) continue D) None
29 _____command freezes the current plot for subsequent graphics commands [B ]
R20 20EC0454-MATLAB PROGRAMMING

A) Plot B) hold C) figure D) None


30 Regression indicates the_____ [B ]
A) response B) strength of impact C) growth D) None
31 Which of the following commands is used to plot a continuous-time signal in MATLAB ? [A ]
A) Plot(x,y) B) Stem(t,x) C) Bar(t,x) D) Stairs(t,x)
32 Which of the following MATLAB function is used to compute the Fourier Transform of a signal? [ A ]
A) fft B) ifft C) conv D) Filter
33 Which MATLAB function is used to find the convolution of two signals? [B ]
A) fft B) conv C) corr D) Xcorr
34 Which function is used to compute the impulse response of alinear system [B ]
A) step B) impulse C) lsim D) Freqz
35 Which of the following is a correct way to define a unit step function in MATLAB? [A ]
A) u=t>=0; B) u=t<=0; C) u=t==0; D) u=sin(t);
36 Which MATLAB function is used to downsample a signal? [A ]
A) downsample B) upsample C) resample D) decimate
37 ____ plot is used to represent a data set that covers a wide range of values. [C ]
A) liner B) Random C) Logarithmic D) None
38 ____ plot has log scales on both axis [ B ]
A) liner B) log-log C) power D) None
39 log-log plot has log scales on ____ axis [C ]
A) X-axis B) Y-axis C) both X & Y D) None
40 Y(x)= mx+c is a ____ function [A ]
A) linear B) log-log C) power D) polar
UNIT – V
LINEAR ALGEBRAIC EQUATIONS
1 The inverse of a matrix A is denoted by A-1 and has the property that A-1 A =A A-1 [A ]
A) I B) 0 C) both D) none
2 A matrix is singular if its determinant |A| is [B ]
A) I B) 0 C) both D) none
3 An ill-conditioned set of equations is a set that is close to being [B ]
A) 0 B) Singular C) 1 D) None
4 The matrix inverse method will warn us if a_______solution does not exist [B ]
A) Infinite B) unique C) both D) None
5 MATLAB provides the left division method for solving the equation set Ax =b. This method is [B ]
based on____
A) Gauss elimination B) Gauss elimination C) both D) None
6 An _____ system does not contain enough information to determine all the unknown variables [B ]
A) Determined B) Under determined C) Singular D) None
7 The__function can be used to express some of the unknowns in terms of the remaining unknowns [B ]
A) Pinv B) rref C) Both D) None
8 The pin v function stands for . [A ]
A) Psuedo inverse B) Psuedo matrix C) Both D) None
9 An _____system is a set of equations that has more independent equations than unknowns [B ]
A) Determined B) Over determined C) Singular D) None
R20 20EC0454-MATLAB PROGRAMMING

10 The pinv function gives a solution that gives the minimum value of the______ [A ]
A) Euclidean norm B) Normal form C) Both D) None
11 the pseudoinverse method. [A ]
A) x = pinv(A)*b B) pinv(A) C) pinv(A)*C D) None
12 . Interpolation and extrapolation are greatly aided by plotting the [C ]
A) Values B) Axes C) Data D) None
13 Which of the following Computes the inverse of the matrix A [A ]
A) Inv(A) B) Det(A) C) Rank(A) D) None
14 Which of the following Computes the reduced row echelon form corresponding to the. [A ]
A) rref([A b]) B) ref([A b]) C) rref([A]) D) None
15 Which of the following Solves the matrix equation Ax ! b using left division [A ]
A) x = A\b B) x = A-b C) x = A*b D) None
16 Which of the following Computes the determinant of the matrix A [B ]
A) Inv(A) B) Det(A) C) Rank(A) D) None
17 An ………number of solutions might exist even when the number of equations equals the [A ]
number of unknowns.
A) Infinite B) Finite C) Zero D) None
18 . ………rule is an explicit formula for the solution of a system of linear equations with as many [B ]
equations as unknowns, valid whenever the system has a unique solution
A) Matrix B) Cramer’s C) Sympson D) None
19 ……rule is computationally inefficient for systems of more than two or three equations [B ]
A) Matrix B) Cramer’s C) Sympson D) None
20 …… rule is used to derive the general solution to an inhomogeneous lineardifferential equation [B ]
by the method of variation of parameters
A) Matrix B) Cramer’s C) Sympson D) None
21 A=[7,-5; 4,5] and b= [4;5] then the solution is________. [A ]
A) 1 B) 2 C) 2 D) None
22 A=[2,4;4,-6] then determinant of A is __________. [B ]
A) 1 B) 2 C) 2 D) None
23 A=[3,8;4,-6] then the rank of A is _____________. [B ]
A) 1 B) 2 C) 2 D) None
24 A=[9,4,5;4,-6,3;6,7,0] find 2x2 subdeterminant ___ [ B ]
A) 1 B) 2 C) 2 D) None
25 A=[4,1;4,5] then inv(A) is ______________ [B ]
A) 1 B) 2 C) 2 D) None
26 The pinvfunction stands for. [A ]
A) Psuedo inverse B) Psuedo matrix C) Both D) None
27 An ……………system is a set of equations that has more independent equations than unknowns [B ]
A) Determined B) Over determined C) Singular D) None
28 The pinv function gives a solution that gives the minimum value of the ……. [A ]
A) Euclidean norm B) Normal form C) Both D) None
29 the pseudoinverse method [A ]
A) x = pinv(A)*b B) pinv(A) C) pinv(A)*C D) None
30 Interpolation and extrapolation are greatly aided by plotting the [C ]
A) Values B) Axes C) Data D) None
31 Which of the following Computes the inverse of the matrix A [A ]
A) Inv(A) B) Det(A) C) Rank(A) D) None
R20 20EC0454-MATLAB PROGRAMMING

32 Which of the following Computes the reduced row echelon form corresponding to the [A ]
A) rref([A b]) B) ref([A b]) C) rref([A]) D) None
33 Which of the following Solves the matrix equation Ax ! b using left division [A ]
A) x = A\b B) x = A-b C) x = A*b D) None
34 Which of the following Computes the determinant of the matrix A [B ]
A) Inv(A) B) Det(A) C) Rank(A) D) None
35 An ………number of solutions might exist even when the number of equations equals the [A ]
number of unknowns
A) Infinite B) Finite C) Zero D) None
36 the value of k from the equations 9x+ky=0 and 3x+6y=0 is _________ [B ]
A) 1 B) 2 C) 2 D) None
37 Solution matrix for Ax=B is _____________ [A ]
A) 1 B) 2 C) 2 D) None
38 A=[3,-4;4,-6] and b=[5:2] then inv(A)*b is _____________ [B ]
A) 1 B) 2 C) 2 D) None
39 A=[3,4,5;4,-6,3;6,7,0] find 2x2 subdeterminant _________ [B ]
A) 1 B) 2 C) 2 D) None
40 A=[5,1;4,5] then inv(A) is ______________ [B ]
A) 1 B) 2 C) 2 D) None
Prepared by: Mr.Raghul G, Mr.S.V.Rajesh Kumar, AP/ECE

You might also like