MATLAB Previous Question Papers
MATLAB Previous Question Papers
PART-B
Note: Answer TWO Questions; either 2nd Question or 3rd Question &
either 4th Question or 5th Question
1. 2. Mention the syntax of function statement and create a user defined function
to return the maximum number when three numbers are given as arguments.
OR
3. Explain in detail the process of hierarchy of operations.
4. Mention different types of conditional statements and loop control statements.
OR
5. Write a matlab program to solve the linear system using the Cramer’s
method
2x1+3x2-x3=1
x1+2x2-x3=4
-2x1-x2+x3=-3
RAVINDRA COLLEGE OF ENGINEERING FOR WOMEN SET-3
Nandikotkur Road, Kurnool – 518 004
PART-B
Note: Answer TWO Questions; either 2nd Question or 3rd Question &
either 4th Question or 5th Question
d. Find the determinant of 𝐴=[2 3;3 2] and write the matlab command for
determinant.
e. How to calculate inverse of matrix?
PART-B
Note: Answer TWO Questions; either 2nd Question or 3rd Question &
either 4th Question or 5th Question
2. What are the user defined functions? Write matlab program to sort vector v = [23 45 12
9 5 0 19 17] using matlab commands.
OR
3. Explain adavantages of matlab.
4. Describe commonly used commands for plotting graphs in results analysis.
OR
5. Write a matlab program to solve the set of linear system equations using the matrix
method:
x+2y+3z=9
2x-y+3z=8
3x+0y-z=3
RAVINDRA COLLEGE OF ENGINEERING FOR WOMEN SET-1
Nandikotkur Road, Kurnool – 518 004
PART-B
Note: Answer TWO Questions; either 2nd Question or 3rd Question &
either 4th Question or 5th Question
3. Discuss about elementary mathematical function with proper commands.
OR
4. Write short notes on workspace in MATLAB environment
5. Write a matlab program to solve the set of linear system equations using the
Cramer’s method: :
x+y+z=11
2x-6y-z=0
3x+4y+2z=0
RAVINDRA COLLEGE OF ENGINEERING FOR WOMEN SET-4
Nandikotkur Road, Kurnool – 518 004
PART-B
Note: Answer TWO Questions; either 2nd Question or 3rd Question &
either 4th Question or 5th Question
2. Mention the syntax of function statement and create a user defined function to
return the maximum number when three numbers are given as arguments.
OR
3. a. Explain in detail three dimensional plots.
b. Explain Underdetermined Systems in Matlab programming.
4. Mention different types of conditional statements and loop control statements.
OR
5. Write a matlab program to solve the linear system using the Cramer’s
method
2x1+3x2-x3=1
x1+2x2-x3=4
-2x1-x2+x3=-3
RAVINDRA COLLEGE OF ENGINEERING FOR WOMEN SET-3
Nandikotkur Road, Kurnool – 518 004
PART-B
Note: Answer TWO Questions; either 2nd Question or 3rd Question &
either 4th Question or 5th Question
2. Describe briefly about the advanced functions available in matlab programming
OR
3. a.Write a brief description about a Matrix Methods for Linear Equations using
matlab.
b. Explain Interactive Plotting in matlab.
d. Find the determinant of 𝐴=[2 3;3 2] and write the matlab command for
determinant.
e. How to calculate inverse of matrix?
PART-B
Note: Answer TWO Questions; either 2nd Question or 3rd Question &
either 4th Question or 5th Question
2. What are the user defined functions? Write matlab program to sort vector v = [23 45 12
9 5 0 19 17] using matlab commands.
OR
3. a) What is nested if structure? Write the syntax of the nested if structure.
b) How to solve linear equations in Matlab using Cramers Method? Explain.
4. Describe commonly used commands for plotting graphs in results analysis.
OR
5. Write a matlab program to solve the set of linear system equations using the matrix
method:
x+2y+3z=9
2x-y+3z=8
3x+0y-z=3
RAVINDRA COLLEGE OF ENGINEERING FOR WOMEN SET-1
Nandikotkur Road, Kurnool – 518 004
PART-B
Note: Answer TWO Questions; either 2nd Question or 3rd Question &
either 4th Question or 5th Question
2. Discuss about elementary mathematical function with proper commands.
OR
3. a) Explain over determined systems in Matlab programming.
b) Brief the use of switch statement
5. Write a matlab program to solve the set of linear system equations using the
Cramer’s method:
x+y+z=11
2x-6y-z=0
3x+4y+2z=0