MATLAB Christmas

MATLAB Christmas

University

15 Qs

quiz-placeholder

Similar activities

Standing Wave

Standing Wave

12th Grade - University

15 Qs

Stress and Strain

Stress and Strain

12th Grade - University

15 Qs

Uniform Circular Motion

Uniform Circular Motion

11th Grade - University

15 Qs

Sound Review

Sound Review

4th Grade - University

15 Qs

Collections_Generics_ExceptionHandling

Collections_Generics_ExceptionHandling

University

18 Qs

Technical Quiz R-1

Technical Quiz R-1

University

20 Qs

L'alimentation de l'enfant de sa naissance à 3 ans

L'alimentation de l'enfant de sa naissance à 3 ans

University

10 Qs

KUIS PRAKTIKUM 3

KUIS PRAKTIKUM 3

University

10 Qs

MATLAB Christmas

MATLAB Christmas

Assessment

Quiz

Science

University

Hard

Used 18+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?