MATLAB Certification exam answers 2026: This page lists all 100 questions of the official MATLAB Certification exam by Itronix Solutions, each with its four answer options and the correct answer highlighted in green. Use it to revise every topic before you attempt the test and earn your verifiable certificate.
About this certification: MATLAB is a computer programming language that uses computations and algorithms to analyze large amounts of data and present it in visually appealing formats.
| Certification | MATLAB Certification |
| Provider | Itronix Solutions |
| Category | Engineering & CAD |
| Total questions | 100 multiple-choice questions |
| Marks | 1 mark per question (100 marks) |
| Passing score | 80% (80 out of 100) |
| Retake | Available if you do not pass |
| Certificate | Verifiable online certificate |
Take the exam: MATLAB Certification on Itronix Solutions. See every other Itronix exam in our complete list of Itronix certification answers.
MATLAB Exam Questions and Answers
Questions 1 to 25
1. How can we close all graphs in MATLAB?
Correct answer: A. Using the clear all command
2. Which of the following is not a pre-defined variable in Matlab.
Correct answer: B. gravity
3. This Matlab command clears all data and variables stored in memory:
Correct answer: C. clear
4. Characters in Matlab are represented in their value in memory.
Correct answer: D. ASCII
5. Which of the following is NOT a valid plotting command in MATLAB?
Correct answer: A. Prod
6. In MATLAB, ______ command is used to add text label to x-axis.
Correct answer: C. Xlabel
7. Which of the following is NOT a negative effect when the class or array of a variable is changed in MATLAB?
Correct answer: C. It works with special features.
8. Which software provides automation in electrical power system?
Correct answer: D. ETAP
9. Which command in MATLAB is used to create a new variable?
Correct answer: A. var
10. Which of the following statements is used to create a for loop in MATLAB?
Correct answer: B. for
11. Which of the following commands is used to concatenate two matrices vertically in MATLAB?
Correct answer: C. vertcat
12. Which of the following commands is used to calculate the dot product of two vectors in MATLAB?
Correct answer: D. dot
13. Index of an array in MATLAB start with
Correct answer: A. 1
14. What is the return type of angles function in MATLAB ?
Correct answer: B. Radians
15. What is use of abs function in Matlab?
Correct answer: C. returns magnitude of a number.
16. What will be the output of atan2(-1,1) in Matlab?
Correct answer: D. 0.7854
17. Keys combition used to stop execution of a command in MATLAB?
Correct answer: A. ctrl+c
18. Which class is used in Matlab to store the complex number?
Correct answer: B. symbolic
19. Which of the following is the disadvantage of Matlab?
Correct answer: A. Matlab is an interpreted language thus it can be very slow
20. To better manage memory and prevent unnecessary memory allocations, Matlab uses:
Correct answer: D. delayed copy
21. MATLAB stands for:
Correct answer: B. Matrix Laboratory
22. MATLAB is developed by:
Correct answer: B. MathWorks
23. MATLAB is mainly used for:
Correct answer: A. Numerical computing, data analysis, visualisation and simulation
24. The basic data type in MATLAB is:
Correct answer: A. The matrix (array)
25. MATLAB array indexing starts at:
Correct answer: D. 1
Questions 26 to 50
26. A semicolon at the end of a MATLAB statement:
Correct answer: C. Suppresses output display
27. Comments in MATLAB start with:
Correct answer: B. %
28. A row vector is created with:
Correct answer: B. [1 2 3]
29. A column vector is created with:
Correct answer: D. [1; 2; 3]
30. The colon operator 1:5 creates:
Correct answer: B. [1 2 3 4 5]
31. 0:2:10 creates:
Correct answer: C. 0 2 4 6 8 10
32. zeros(3) creates:
Correct answer: C. A 3×3 matrix of zeros
33. ones(2,3) creates:
Correct answer: B. A 2×3 matrix of ones
34. eye(3) creates:
Correct answer: A. A 3×3 identity matrix
35. rand(3) creates:
Correct answer: B. A 3×3 matrix of uniformly distributed random numbers
36. size(A) returns:
Correct answer: C. The dimensions of matrix A
37. length(v) returns:
Correct answer: B. The length of the largest dimension
38. numel(A) returns:
Correct answer: D. The number of elements in A
39. A’ computes:
Correct answer: A. The (conjugate) transpose of A
40. A * B performs:
Correct answer: A. Matrix multiplication
41. A .* B performs:
Correct answer: B. Element-wise multiplication
42. A .^ 2 computes:
Correct answer: D. Each element squared
43. inv(A) computes:
Correct answer: A. The inverse of matrix A
44. det(A) computes:
Correct answer: A. The determinant of A
45. A \ b solves:
Correct answer: A. The linear system A x = b
46. eig(A) returns:
Correct answer: A. Eigenvalues of A
47. A(2,3) accesses:
Correct answer: B. The element in row 2, column 3
48. A(:,1) selects:
Correct answer: A. All rows of the first column
49. A(end,:) selects:
Correct answer: A. The last row
50. sum(v) returns:
Correct answer: B. The sum of elements
Questions 51 to 75
51. mean(v) returns:
Correct answer: B. The average of elements
52. max(v) returns:
Correct answer: D. The largest element
53. sort(v) returns:
Correct answer: B. Elements sorted in ascending order by default
54. find(v > 5) returns:
Correct answer: C. Indices of elements greater than 5
55. Logical indexing v(v > 0) returns:
Correct answer: C. Elements of v that are positive
56. A for loop in MATLAB is written as:
Correct answer: A. for i = 1:10 … end
57. A while loop continues:
Correct answer: C. While its condition is true
58. if-elseif-else blocks in MATLAB end with:
Correct answer: A. end
59. A function file in MATLAB begins with:
Correct answer: D. function [out] = name(in)
60. A script differs from a function because it:
Correct answer: D. Runs in the base workspace without input arguments
61. Anonymous functions are created with:
Correct answer: D. f = @(x) x.^2
62. The workspace shows:
Correct answer: B. Variables currently in memory
63. clc does what?
Correct answer: B. Clears the Command Window
64. clear removes:
Correct answer: D. Variables from the workspace
65. close all closes:
Correct answer: A. All figure windows
66. plot(x, y) creates:
Correct answer: B. A 2D line plot
67. xlabel and ylabel add:
Correct answer: B. Axis labels
68. title(‘text’) adds:
Correct answer: A. A title to the plot
69. legend adds:
Correct answer: D. A legend identifying plotted data
70. hold on allows:
Correct answer: B. Adding multiple plots to the same axes
71. subplot(2,1,1) creates:
Correct answer: C. A grid of plots and selects the first
72. bar(y) creates:
Correct answer: B. A bar graph
73. histogram(data) creates:
Correct answer: B. A histogram of data distribution
74. surf(X,Y,Z) creates:
Correct answer: C. A 3D surface plot
75. meshgrid is used to:
Correct answer: A. Create 2D grid coordinates for 3D plotting
Questions 76 to 100
76. linspace(0,1,5) creates:
Correct answer: B. 5 equally spaced points from 0 to 1
77. A cell array stores:
Correct answer: D. Elements of different types and sizes
78. A struct stores:
Correct answer: B. Data in named fields
79. Strings can be created with:
Correct answer: D. Double quotes "text" (string) or single quotes ‘text’ (char)
80. readtable is used to:
Correct answer: B. Import tabular data from files like CSV or Excel
81. save and load are used to:
Correct answer: D. Save and load workspace variables to MAT-files
82. Simulink is:
Correct answer: D. A graphical environment for modelling and simulating dynamic systems
83. In Simulink, models are built using:
Correct answer: B. Blocks connected by signal lines
84. ode45 is used to:
Correct answer: B. Solve ordinary differential equations numerically
85. polyfit is used to:
Correct answer: A. Fit a polynomial to data
86. polyval evaluates:
Correct answer: D. A polynomial at given points
87. interp1 performs:
Correct answer: A. One-dimensional interpolation
88. integral or trapz computes:
Correct answer: B. Numerical integration
89. diff(v) computes:
Correct answer: C. Differences between adjacent elements
90. The Symbolic Math Toolbox allows:
Correct answer: B. Symbolic algebra, differentiation and integration
91. Toolboxes in MATLAB provide:
Correct answer: A. Specialised functions for domains like signal processing and machine learning
92. The Image Processing Toolbox is used for:
Correct answer: D. Analysing and processing images
93. The Signal Processing Toolbox is used for:
Correct answer: A. Filtering and analysing signals
94. Vectorisation in MATLAB means:
Correct answer: A. Replacing loops with array operations for speed
95. The help and doc commands provide:
Correct answer: D. Documentation for functions
96. The main strength of MATLAB is:
Correct answer: C. Fast matrix-based computation with powerful visualisation and toolboxes
97. disp(x) is used to:
Correct answer: D. Display the value of x
98. num2str converts:
Correct answer: D. Numbers to strings
99. isempty(A) returns true when:
Correct answer: D. A has no elements
100. fprintf is used to:
Correct answer: A. Write formatted text to the screen or a file
How to Pass the MATLAB Exam
- Read every question carefully; most options look similar, so look for the most precise answer.
- Revise the questions above topic by topic rather than memorising letters, because option order can change in the live test.
- You need 80 correct answers out of 100 to pass, so aim to understand at least 85 to stay safe.
- If you do not clear it on the first attempt, review the questions you missed and use the retake option.
Frequently Asked Questions
How many questions are in the MATLAB Certification exam?
The exam has 100 multiple-choice questions, each worth 1 mark.
What is the passing score for the MATLAB Certification?
You need at least 80% (80 out of 100) to pass and receive the certificate.
Can I retake the MATLAB Certification exam?
Yes. If you score below 80%, you can retry the test after reviewing the topics.
Is the Itronix certificate verifiable?
Yes. Every certificate issued by Itronix Solutions has a unique ID that can be checked on the Itronix verify-certificate page.
More Engineering & CAD Certification Answers
- ANSYS Structural Analysis Certification Exam Answers
- AutoCAD Certification Exam Answers
- AutoCAD Civil 3D Certification Exam Answers
- Basics of Civil Engineering Certification Exam Answers
- CATIA – Computer Aided Design and Drafting Certification Exam Answers
- CNC Operator Certification Exam Answers
- PLC Programming Certiication Exam Answers
- Robotics Certification Exam Answers
Disclaimer: These answers are provided for learning and revision. Questions and answers are checked regularly; if you find a mistake, let us know in the comments.
Priya Dogra – Free Certifications, Exam Answers & Career Guides Free certification exam answers, courses, scholarships and career guides for learners worldwide