MATLAB variables. Types. Declaration. Operations.
Quiz
•
Professional Development, Computers
•
Professional Development
•
Practice Problem
•
Hard
Matlab Traning
Used 14+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
20 sec • 5 pts
Select all variable types that exist in MATLAB.
int10
single
logical
array
script
2.
MULTIPLE SELECT QUESTION
20 sec • 5 pts
What command will create the row vector a = ( 4 15 23 81 ) ?
a = [4 15 23 81]
a = [ 4, 15, 23, 81]
a = [ 4; 15; 23; 81]
a = [ 4,15 23, 81]
3.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
What will be the last element of vec variable if the last one was generated using following MATLAB command:
>> vec = 1:3:110;
?
MATLAB will display an compilation error
112
110
109
4.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
How many elements will have the array term generated by the MATLAB command:
>> linspace ( 3 , 3.1 );
?
100
1
2
15
5.
MULTIPLE SELECT QUESTION
20 sec • 5 pts
What MATLAB commands will generate a similar result?
a = ones
a = zeros
a = eye
a = eye(3)
6.
MULTIPLE SELECT QUESTION
20 sec • 5 pts
Select the MATLAB command that will generate equivalent results.
b = [3, 2, 1]'
b = [3; 2; 1]
b = zeros(3, 2, 1)
b = pascal (3, 2, 1)
7.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
A matrix was declared as in the left-side image. Which command assigns to scalar s value 10?
s = matrice(3,2)
s = matrice(end,end)
s = matrice(2,3)
s = matrice(1,3)
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Pre Test Skill Up (Public)
Quiz
•
Professional Development
15 questions
Quiz TNH Bandung
Quiz
•
Professional Development
10 questions
Payjoy
Quiz
•
Professional Development
10 questions
Bimtek Literasi dan Numerasi
Quiz
•
Professional Development
10 questions
HR Strategy Y2022
Quiz
•
Professional Development
12 questions
Perform Online Collaboration A
Quiz
•
Professional Development
15 questions
Gli indirizzi IP
Quiz
•
9th Grade - Professio...
12 questions
Accident Investigation
Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
