
MATLAB Basics Quiz
Authored by MUHAMMAD ENG
Physics
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the main area where commands are entered in MATLAB?
Editor
Command Window
Workspace
Figure Window
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the purpose of the MATLAB Workspace?
To save figures
To write code
To store variables
To install toolboxes
3.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
How do you define a row vector [1 2 3] in MATLAB?
[1 2 3]
[1, 2, 3]
1:2:3
(1 2 3)
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of zeros(2,3)?
A 3 columns x 2 row matrix of zeros
A 2 columns x 3 row matrix of zeros
A 3×3 identity matrix
A 2×2 matrix of ones
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How do you access the second element of vector v = [10 20 30]?
v(2)
v[2]
v{2}
v.2
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which command lists all variables in the workspace?
clc
clear
who
disp
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does clear all do?
Clears command history
Deletes current folder
Removes all variables
Closes MATLAB
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?