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
COMP130_Intro

Quiz
•
University
10 questions
10 Questions of Machine Learning

Quiz
•
University
10 questions
Database | Entity Relationship Model

Quiz
•
University
10 questions
Python test

Quiz
•
University
10 questions
Image Editing Concepts

Quiz
•
8th Grade - University
10 questions
Classification

Quiz
•
University
8 questions
Curso de IPv6 Básico a Distância - M4Q2

Quiz
•
University - Professi...
5 questions
VB.NET PBU

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University