1MEMS4 - Week 1: Matlab Basics

1MEMS4 - Week 1: Matlab Basics

University

6 Qs

quiz-placeholder

Similar activities

Ôn tập & Điểm danh PTDL Buổi 2

Ôn tập & Điểm danh PTDL Buổi 2

University

10 Qs

MATLAB

MATLAB

KG - University

10 Qs

TIU Quiz-10

TIU Quiz-10

University

10 Qs

Activity 2 CGV

Activity 2 CGV

University

10 Qs

Programació de Gràfics 3D

Programació de Gràfics 3D

University

8 Qs

FGCT4023 Topic 4 - Array

FGCT4023 Topic 4 - Array

University

10 Qs

MATLAB

MATLAB

University

8 Qs

Module 1 Brush Up

Module 1 Brush Up

University - Professional Development

10 Qs

1MEMS4 - Week 1: Matlab Basics

1MEMS4 - Week 1: Matlab Basics

Assessment

Quiz

Computers

University

Hard

Created by

Anneliese Walsh

Used 3+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following will create a vector with the numbers 1,2,3(select all that are correct):

myVector=[1,2,3];

myVector(1,2,3)=[1,2,3];

myVector=[1 2 3];

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Considering the vector myVector=[1,2,3],

which statement will multiply the last number by 6 (select all that are correct):

myVector(:)=myVector(:)*6

myVector(1,3)=myVector(1,3)*6

myVector(:,3)=myVector(:,3)*6

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Considering the vector myVector=[1,2,3],

which statement will divide all the numbers by 2 (select all that are correct):

myVector=myVector/2

myVector(:)=myVector(:)/2

myVector=myVector./2

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which statements will create a 3x3 matrix filled with 1s (select all that are correct):

myMatrix(3,3)=1

myMatrix=ones(3);

myMatrix=[1,1,1,1,1,1]

myMatrix=[1,1,1;1,1,1;1,1,1]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Considering the matrix myMatrix=[1,1,1;1,1,1],

which statement will multiply the element in the 1st row, 3rd column by 2:

myMatrix(3,1)=myMatrix(3,1)*2;

myMatrix=myMatrix(1,3)*2;

myMatrix(:)=myMatrix(:)*2;

myMatrix(1,3)=myMatrix(1,3)*2;

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which statements will create a 3x3 matrix filled with 1s (select all that are correct):

myMatrix(3,3)=1

myMatrix=ones(3);

myMatrix=[1,1,1,1,1,1]

myMatrix=[1,1,1;1,1,1;1,1,1]