Week 6 ENCMP 100 Flashcards

1
Q

What does .* do?

A

It is an element by element multiplication

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a scalar?

A

It is a single value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a vector

A

It is a row of number or column of numbers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a matrix

A

It is a numerical 2D Matrix

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is an array?

A

It is a category of general types.

https://youtu.be/hjommfAYXWc

Time at 4min

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the fix integer?

A

It rounds the element of x to the nearest integers towards zero.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a matrix multiplication

A

It is a row by column cumulative multiplication .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is array multiplication

A

It is .* function where you fulfilled element by element and you will get the same output dimension as the input dimension.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does the colon operator do?

A

Colon operator: iterates through values in the form first:step:last
e.g. 5:3:14 returns vector [5 8 11 14]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly