How can I get the indices from all values equal to 27 in a matrix M?

MATLAB Christmas

Quiz
•
Science
•
University
•
Hard
Used 18+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
L'alimentation de l'enfant de sa naissance à 3 ans

Quiz
•
University
15 questions
Standing Wave

Quiz
•
12th Grade - University
15 questions
Stress and Strain

Quiz
•
12th Grade - University
15 questions
Uniform Circular Motion

Quiz
•
11th Grade - University
15 questions
Sound Review

Quiz
•
4th Grade - University
15 questions
String Formatting and Conversion Techniques

Quiz
•
12th Grade - University
18 questions
Collections_Generics_ExceptionHandling

Quiz
•
University
15 questions
Rotational Dynamics

Quiz
•
11th Grade - University
Popular Resources on Quizizz
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
19 questions
Math Review

Quiz
•
3rd Grade
45 questions
7th Grade Math EOG Review

Quiz
•
7th Grade