1MEMS4 - Week 1: Matlab Basics

Quiz
•
Computers
•
University
•
Hard
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]
Similar Resources on Wayground
6 questions
Numpy

Quiz
•
University
10 questions
Quiz 8: Arrays&Vector

Quiz
•
University
10 questions
Ôn tập & Điểm danh PTDL Buổi 2

Quiz
•
University
10 questions
MATLAB

Quiz
•
KG - University
10 questions
TIU Quiz-10

Quiz
•
University
10 questions
Lists in python

Quiz
•
University
8 questions
Programació de Gràfics 3D

Quiz
•
University
8 questions
J277 - 2.2 - Use of Arrays up to 2D

Quiz
•
10th Grade - University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade