Homework 4 Flashcards

1
Q

sum()

A

finds sum of formula or all values in matrix

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

max()

A

finds the max value in the data provided

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

min()

A

finds the min value in the data provided

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

find()=[x,y]

A

finds whatever value inputted and returns the [x,y] coordinates of that data

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

sort(matrix, [ascend or descend])

A

sorts matrices in ascending or descending order

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

Linear equation(A^-1 * b=x)

A

[rows, cols] = size(data)
A = data(:,cols-1)
b = data(:, last col)
inv(A)*b=solution
(if det(A)=0 - it is not solveable)

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