
MATLAB Christmas
Science
University
Used 18+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can I get the indices from all values equal to 27 in a matrix M?
M == 27
M = 27
M(M==27)
M(27)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Executing the following code returns:
a = [1:3:10] ;
size(a)
1
[10 1]
[1 4 ]
4
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following statements is correct?
Function 'clear' clears only the scalar variables, but does not clear arrays
Function 'clc' clears all variables
Function 'clc' clears only constants
Function 'clear a' clears all variables of the type array
None of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following code:
M = [1,2,3; 4,5,6; 7,8,9];
numel(M)
3
3 3 3
9
3 3
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which statement is wrong
ans is automatically created by MATLAB when a calculation is not saved in a variable
ans is created by MATLAB when executing code without a semicolon
ans can have any datatype
ans is a variable name
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The output of cat=[‘cat’ ‘dog’] is
Cat&dog
Cat dog
Catdog
Cat
Dog
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command in MATLAB performs matrix operation on elements?
a’
a.*b
a^3
a_4
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?
Similar Resources on Wayground
11 questions
Gears
Quiz
•
University
13 questions
Atomic Structure
Quiz
•
7th Grade - University
10 questions
Introduction to AI - Healthcare & Business
Quiz
•
University - Professi...
11 questions
MÚSCULOS DA FACE
Quiz
•
University
20 questions
STS QUIZ NO. 2
Quiz
•
University
14 questions
MIDTERM 1ST QUIZ (GE7)
Quiz
•
University
12 questions
Introducción - Atmósfera y sus Características
Quiz
•
University
10 questions
Diffusion and Osmosis
Quiz
•
University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade