Week 6 ENCMP 100 Flashcards
What does .* do?
It is an element by element multiplication
What is a scalar?
It is a single value
What is a vector
It is a row of number or column of numbers
What is a matrix
It is a numerical 2D Matrix
What is an array?
It is a category of general types.
https://youtu.be/hjommfAYXWc
Time at 4min
What is the fix integer?
It rounds the element of x to the nearest integers towards zero.
What is a matrix multiplication
It is a row by column cumulative multiplication .
What is array multiplication
It is .* function where you fulfilled element by element and you will get the same output dimension as the input dimension.
What does the colon operator do?
Colon operator: iterates through values in the form first:step:last
e.g. 5:3:14 returns vector [5 8 11 14]